mirror of
https://github.com/discordeno/discordeno.git
synced 2026-06-16 03:18:17 +00:00
f
This commit is contained in:
@@ -6,7 +6,7 @@ import { endpoints } from "../../util/constants.ts";
|
||||
export async function swapChannels(
|
||||
guildId: string,
|
||||
channelPositions: ModifyGuildChannelPositions[],
|
||||
) {
|
||||
): Promise<undefined> {
|
||||
if (channelPositions.length < 2) {
|
||||
throw "You must provide at least two channels to be swapped.";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user