aboutsummaryrefslogtreecommitdiff
path: root/src/listeners/client
diff options
context:
space:
mode:
authorIRONM00N <64110067+IRONM00N@users.noreply.github.com>2021-08-26 21:53:51 -0400
committerIRONM00N <64110067+IRONM00N@users.noreply.github.com>2021-08-26 21:53:51 -0400
commit921e98369c8a8aa58220a232eb8b711be59f9884 (patch)
tree1566574bcad21d4c16ddf869b55f20a4665d54cc /src/listeners/client
parentb7f254cd426138880318d2ba6a06e8e86ae407bf (diff)
downloadtanzanite-921e98369c8a8aa58220a232eb8b711be59f9884.tar.gz
tanzanite-921e98369c8a8aa58220a232eb8b711be59f9884.tar.bz2
tanzanite-921e98369c8a8aa58220a232eb8b711be59f9884.zip
start settings command
Diffstat (limited to 'src/listeners/client')
-rw-r--r--src/listeners/client/interactionCreate.ts15
1 files changed, 3 insertions, 12 deletions
diff --git a/src/listeners/client/interactionCreate.ts b/src/listeners/client/interactionCreate.ts
index b4cc353..d2bc6b5 100644
--- a/src/listeners/client/interactionCreate.ts
+++ b/src/listeners/client/interactionCreate.ts
@@ -25,10 +25,10 @@ export default class InteractionCreateListener extends BushListener {
);
return;
} else if (interaction.isButton()) {
- if (interaction.customId.startsWith('paginate_')) return;
+ if (interaction.customId.startsWith('paginate_') || interaction.customId.startsWith('command_')) return;
return await interaction.reply({ content: 'Buttons go brrr', ephemeral: true });
} else if (interaction.isSelectMenu()) {
- if (interaction.customId.startsWith('featureCommand_')) return;
+ if (interaction.customId.startsWith('command_')) return;
return await interaction.reply({
content: `You selected ${
Array.isArray(interaction.values)
@@ -37,15 +37,6 @@ export default class InteractionCreateListener extends BushListener {
}.`,
ephemeral: true
});
- } /* else if (interaction.isContextMenu()) {
- if (interaction.commandName === 'View Raw') {
- await interaction.deferReply({ ephemeral: true });
- const embed = await ViewRawCommand.getRawData(interaction.options.getMessage('message') as BushMessage, {
- json: false,
- js: false
- });
- return await interaction.editReply({ embeds: [embed] });
- }
- } */
+ }
}
}