diff --git a/commands/help.js b/commands/help.js index cb0dd42..991434b 100644 --- a/commands/help.js +++ b/commands/help.js @@ -126,7 +126,7 @@ module.exports = { interaction.send({ components: [SelectSettings], flags: (1 << 6) }); - client.on("interactionCreate", async MenuInteraction => { + client.on("interactionCreate", MenuInteraction => { if(!MenuInteraction.isSelectMenu()) return; if (!MenuInteraction.customId.endsWith(MenuInteraction.member.user.id)) { return MenuInteraction.reply({ diff --git a/commands/inventory.js b/commands/inventory.js index a129335..73114bb 100644 --- a/commands/inventory.js +++ b/commands/inventory.js @@ -235,7 +235,7 @@ module.exports = { interaction.send({ components: [opt], flags: (1 << 6) }) - client.on("interactionCreate", async MenuInteraction => { + client.on("interactionCreate", MenuInteraction => { if(!MenuInteraction.isSelectMenu()) return; if (!MenuInteraction.customId.endsWith(MenuInteraction.member.user.id)) { return MenuInteraction.reply({ @@ -447,7 +447,7 @@ module.exports = { interaction.send({ components: [opt], flags: (1 << 6) }) - client.on("interactionCreate", async MenuInteraction => { + client.on("interactionCreate", MenuInteraction => { if(!MenuInteraction.isSelectMenu()) return; if (!MenuInteraction.customId.endsWith(MenuInteraction.member.user.id)) { return MenuInteraction.reply({ diff --git a/commands/reset.js b/commands/reset.js index acb87c2..c863961 100644 --- a/commands/reset.js +++ b/commands/reset.js @@ -55,7 +55,7 @@ module.exports = { interaction.send({ embeds: [prompt], components: [opt], flags: (1 << 6) }); - client.on("interactionCreate", async (ButtonInteraction) => { + client.on("interactionCreate", ButtonInteraction => { if(!ButtonInteraction.isButton()) return; const queryString = ButtonInteraction.customId; if (!queryString.endsWith(ButtonInteraction.member.user.id)) {