From 8bcceb19fdc7e508eb76cfbb2c0dd5d8b47e5e76 Mon Sep 17 00:00:00 2001 From: IRONM00N <64110067+IRONM00N@users.noreply.github.com> Date: Wed, 13 Oct 2021 15:28:34 -0400 Subject: do not deferReply --- src/lib/common/autoMod.ts | 1 - 1 file changed, 1 deletion(-) (limited to 'src/lib/common') diff --git a/src/lib/common/autoMod.ts b/src/lib/common/autoMod.ts index fefd6d6..2f88ee7 100644 --- a/src/lib/common/autoMod.ts +++ b/src/lib/common/autoMod.ts @@ -194,7 +194,6 @@ export class AutoMod { const [action, userId, reason] = interaction.customId.replace('automod;', '').split(';'); switch (action) { case 'ban': { - await interaction.deferReply(); const check = await Moderation.permissionCheck( interaction.member as BushGuildMember, interaction.guild!.members.cache.get(userId)!, -- cgit