diff --git a/bots/discord/events/discord/interactionCreate.js b/bots/discord/events/discord/interactionCreate.js index 82a9b14..550afc0 100644 --- a/bots/discord/events/discord/interactionCreate.js +++ b/bots/discord/events/discord/interactionCreate.js @@ -4,7 +4,11 @@ export default { name: Events.InteractionCreate, once: false, async execute(interaction) { - if (!interaction.isMessageContextMenuCommand()) return; + if ( + !interaction.isMessageContextMenuCommand() || + !interaction.isChatInputCommand() + ) + return; const command = interaction.client.commands.get(interaction.commandName);