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