aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorIRONM00N <64110067+IRONM00N@users.noreply.github.com>2021-10-13 15:28:34 -0400
committerIRONM00N <64110067+IRONM00N@users.noreply.github.com>2021-10-13 15:28:34 -0400
commit8bcceb19fdc7e508eb76cfbb2c0dd5d8b47e5e76 (patch)
tree2d4d5520bbc618dd03a9181c142164b17df4e94f /src
parent1ec1cac4ca324d2803e49d3d3c3c0aa19bfa3929 (diff)
downloadtanzanite-8bcceb19fdc7e508eb76cfbb2c0dd5d8b47e5e76.tar.gz
tanzanite-8bcceb19fdc7e508eb76cfbb2c0dd5d8b47e5e76.tar.bz2
tanzanite-8bcceb19fdc7e508eb76cfbb2c0dd5d8b47e5e76.zip
do not deferReply
Diffstat (limited to 'src')
-rw-r--r--src/lib/common/autoMod.ts1
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)!,