diff --git a/events/modals/denyreasonbox.js b/events/modals/denyreasonbox.js index 32444e9..37a298c 100644 --- a/events/modals/denyreasonbox.js +++ b/events/modals/denyreasonbox.js @@ -10,6 +10,8 @@ module.exports = { async execute(interaction) { + if (interaction.type === InteractionType.ApplicationCommand) return; + interaction.deferReply(); if (interaction.type !== InteractionType.ModalSubmit) return;