diff options
author | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2021-10-13 23:15:24 -0400 |
---|---|---|
committer | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2021-10-13 23:15:24 -0400 |
commit | ad25bed8ac1beb0fee578525b73f39dfa8acf992 (patch) | |
tree | 8accd88c84a858d019a3611abc69d6fdafbeea03 /src/listeners/client | |
parent | 8bcceb19fdc7e508eb76cfbb2c0dd5d8b47e5e76 (diff) | |
download | tanzanite-ad25bed8ac1beb0fee578525b73f39dfa8acf992.tar.gz tanzanite-ad25bed8ac1beb0fee578525b73f39dfa8acf992.tar.bz2 tanzanite-ad25bed8ac1beb0fee578525b73f39dfa8acf992.zip |
fix ban message button
Diffstat (limited to 'src/listeners/client')
-rw-r--r-- | src/listeners/client/interactionCreate.ts | 2 |
1 files changed, 1 insertions, 1 deletions
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({ |