diff options
author | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2021-07-08 22:19:24 -0400 |
---|---|---|
committer | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2021-07-08 22:19:24 -0400 |
commit | 820f55fc9bc8a4540666c03a414d68bcfbead4fc (patch) | |
tree | c6f42825fd5e13ee0d78c07a4533ea83c0f150f9 /src/listeners/client | |
parent | 86be44fc0485085a77b7945a22f579e6b3a5b510 (diff) | |
download | tanzanite-820f55fc9bc8a4540666c03a414d68bcfbead4fc.tar.gz tanzanite-820f55fc9bc8a4540666c03a414d68bcfbead4fc.tar.bz2 tanzanite-820f55fc9bc8a4540666c03a414d68bcfbead4fc.zip |
fix breaking changes
Diffstat (limited to 'src/listeners/client')
-rw-r--r-- | src/listeners/client/interaction.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/listeners/client/interaction.ts b/src/listeners/client/interaction.ts index 171d5a5..d7d8776 100644 --- a/src/listeners/client/interaction.ts +++ b/src/listeners/client/interaction.ts @@ -16,12 +16,12 @@ export default class InteractionListener extends BushListener { this.client.console.info( 'SlashCommand', `The <<${interaction.commandName}>> command was used by <<${interaction.user.tag}>> in <<${ - interaction.channel.type == 'dm' ? interaction.channel.recipient + 's DMs' : interaction.channel.name + interaction.channel.type == 'DM' ? interaction.channel.recipient + 's DMs' : interaction.channel.name }>>.` ); return; } else if (interaction.isButton()) { - if (interaction.customID.startsWith('paginate_')) return; + if (interaction.customId.startsWith('paginate_')) return; return await interaction.reply({ content: 'Buttons go brrr', ephemeral: true }); } else if (interaction.isSelectMenu()) { return await interaction.reply({ |