From ad25bed8ac1beb0fee578525b73f39dfa8acf992 Mon Sep 17 00:00:00 2001 From: IRONM00N <64110067+IRONM00N@users.noreply.github.com> Date: Wed, 13 Oct 2021 23:15:24 -0400 Subject: fix ban message button --- src/listeners/client/interactionCreate.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/listeners/client/interactionCreate.ts b/src/listeners/client/interactionCreate.ts index b148afb..d2e02ab 100644 --- a/src/listeners/client/interactionCreate.ts +++ b/src/listeners/client/interactionCreate.ts @@ -25,7 +25,7 @@ export default class InteractionCreateListener extends BushListener { if (interaction.customId.startsWith('paginate_') || interaction.customId.startsWith('command_')) return; else if (interaction.customId.startsWith('automod;')) void AutoMod.handleInteraction(interaction as BushButtonInteraction); - return await interaction.reply({ content: 'Buttons go brrr', ephemeral: true }); + else return await interaction.reply({ content: 'Buttons go brrr', ephemeral: true }); } else if (interaction.isSelectMenu()) { if (interaction.customId.startsWith('command_')) return; return await interaction.reply({ -- cgit