diff --git a/src/listeners/interactionCreate.js b/src/listeners/interactionCreate.js index a09e737..861d7ca 100644 --- a/src/listeners/interactionCreate.js +++ b/src/listeners/interactionCreate.js @@ -17,8 +17,6 @@ module.exports = class InteractionCreateEventListener extends EventListener { async execute(interaction) { this.client.log.debug(interaction); - await interaction.deferReply(); - const settings = await this.client.utils.getSettings(interaction.guild.id); const i18n = this.client.i18n.getLocale(settings.locale); diff --git a/src/modules/commands/manager.js b/src/modules/commands/manager.js index 125141a..934b9f8 100644 --- a/src/modules/commands/manager.js +++ b/src/modules/commands/manager.js @@ -148,6 +148,7 @@ module.exports = class CommandManager { */ async handle(interaction) { if (!interaction.guild) return this.client.log.debug('Ignoring non-guild command interaction'); + await interaction.deferReply(); const settings = await this.client.utils.getSettings(interaction.guild.id); const i18n = this.client.i18n.getLocale(settings.locale);