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
@@ -9,7 +9,7 @@ export async function deleteChannel(
guildId: string,
channelId: string,
reason?: string,
) {
): Promise<undefined> {
await requireBotGuildPermissions(guildId, ["MANAGE_CHANNELS"]);
const guild = await cacheHandlers.get("guilds", guildId);