Adding bugfix for unknow reations

This commit is contained in:
2023-03-19 14:30:28 +01:00
parent 688e91dec1
commit 234295a3f0

View File

@@ -10,6 +10,8 @@ module.exports = {
async execute(interaction) { async execute(interaction) {
if (interaction.type === InteractionType.ApplicationCommand) return;
interaction.deferReply(); interaction.deferReply();
if (interaction.type !== InteractionType.ModalSubmit) return; if (interaction.type !== InteractionType.ModalSubmit) return;