This commit is contained in:
ITOH
2021-04-06 22:07:15 +02:00
parent 484e995140
commit 707b096360
6 changed files with 8 additions and 7 deletions
+1 -1
View File
@@ -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.";
}