From 7d41a2b373489582f97930236fbfc83cd1810adf Mon Sep 17 00:00:00 2001 From: Braeden Sowinski Date: Sat, 27 Aug 2022 20:21:28 -0700 Subject: [PATCH] debug reset command --- commands/reset.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/commands/reset.js b/commands/reset.js index 58ea940..22b76c7 100644 --- a/commands/reset.js +++ b/commands/reset.js @@ -3,10 +3,10 @@ const { addInventory } = require('../structures/inventory'); const { addBank } = require('../structures/bank'); module.exports = { - name: "", + name: "reset", debug: false, - description: "", - usage: "", + description: "Reset a users data", + usage: "[user]", permissions: { channel: ["VIEW_CHANNEL", "SEND_MESSAGES", "EMBED_LINKS"], member: [], @@ -59,7 +59,7 @@ module.exports = { interaction.send({ embeds: [prompt], components: [opt], flags: (1 << 6) }); - client.once("interactionCreate", ButtonInteraction => { + client.once("interactionCreate", async (ButtonInteraction) => { if(!ButtonInteraction.isButton()) return; const queryString = ButtonInteraction.customId; if (!queryString.endsWith(ButtonInteraction.member.user.id)) {