debug reset command
This commit is contained in:
1 file changed
+4
-4
+4
-4
@@ -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)) {
|
||||
|
||||
Reference in new issue
Block a user