diff options
author | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2021-10-13 15:28:34 -0400 |
---|---|---|
committer | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2021-10-13 15:28:34 -0400 |
commit | 8bcceb19fdc7e508eb76cfbb2c0dd5d8b47e5e76 (patch) | |
tree | 2d4d5520bbc618dd03a9181c142164b17df4e94f /src/lib/common | |
parent | 1ec1cac4ca324d2803e49d3d3c3c0aa19bfa3929 (diff) | |
download | tanzanite-8bcceb19fdc7e508eb76cfbb2c0dd5d8b47e5e76.tar.gz tanzanite-8bcceb19fdc7e508eb76cfbb2c0dd5d8b47e5e76.tar.bz2 tanzanite-8bcceb19fdc7e508eb76cfbb2c0dd5d8b47e5e76.zip |
do not deferReply
Diffstat (limited to 'src/lib/common')
-rw-r--r-- | src/lib/common/autoMod.ts | 1 |
1 files changed, 0 insertions, 1 deletions
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)!, |