aboutsummaryrefslogtreecommitdiff
path: root/src/listeners/client
diff options
context:
space:
mode:
authorIRONM00N <64110067+IRONM00N@users.noreply.github.com>2021-07-08 22:19:24 -0400
committerIRONM00N <64110067+IRONM00N@users.noreply.github.com>2021-07-08 22:19:24 -0400
commit820f55fc9bc8a4540666c03a414d68bcfbead4fc (patch)
treec6f42825fd5e13ee0d78c07a4533ea83c0f150f9 /src/listeners/client
parent86be44fc0485085a77b7945a22f579e6b3a5b510 (diff)
downloadtanzanite-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.ts4
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({