diff options
author | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2021-10-27 16:57:39 -0400 |
---|---|---|
committer | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2021-10-27 16:57:39 -0400 |
commit | 877537043dd2a8ba16037f061716d9c6f7a5764a (patch) | |
tree | 9e9fd2c69b415d2f548e97d0d6abbf3bc8a314a8 /src/listeners/client | |
parent | a1ab06dcfccef90192b90910aecdddbc505eca00 (diff) | |
download | tanzanite-877537043dd2a8ba16037f061716d9c6f7a5764a.tar.gz tanzanite-877537043dd2a8ba16037f061716d9c6f7a5764a.tar.bz2 tanzanite-877537043dd2a8ba16037f061716d9c6f7a5764a.zip |
change printWidth to 130 and update dependecies
Diffstat (limited to 'src/listeners/client')
-rw-r--r-- | src/listeners/client/interactionCreate.ts | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/listeners/client/interactionCreate.ts b/src/listeners/client/interactionCreate.ts index be6cede..40c7628 100644 --- a/src/listeners/client/interactionCreate.ts +++ b/src/listeners/client/interactionCreate.ts @@ -21,8 +21,7 @@ export default class InteractionCreateListener extends BushListener { return; } else if (interaction.isButton()) { if (interaction.customId.startsWith('paginate_') || interaction.customId.startsWith('command_')) return; - else if (interaction.customId.startsWith('automod;')) - void AutoMod.handleInteraction(interaction as BushButtonInteraction); + else if (interaction.customId.startsWith('automod;')) void AutoMod.handleInteraction(interaction as BushButtonInteraction); else return await interaction.reply({ content: 'Buttons go brrr', ephemeral: true }); } else if (interaction.isSelectMenu()) { if (interaction.customId.startsWith('command_')) return; |