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');
|
const { addBank } = require('../structures/bank');
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
name: "",
|
name: "reset",
|
||||||
debug: false,
|
debug: false,
|
||||||
description: "",
|
description: "Reset a users data",
|
||||||
usage: "",
|
usage: "[user]",
|
||||||
permissions: {
|
permissions: {
|
||||||
channel: ["VIEW_CHANNEL", "SEND_MESSAGES", "EMBED_LINKS"],
|
channel: ["VIEW_CHANNEL", "SEND_MESSAGES", "EMBED_LINKS"],
|
||||||
member: [],
|
member: [],
|
||||||
@@ -59,7 +59,7 @@ module.exports = {
|
|||||||
|
|
||||||
interaction.send({ embeds: [prompt], components: [opt], flags: (1 << 6) });
|
interaction.send({ embeds: [prompt], components: [opt], flags: (1 << 6) });
|
||||||
|
|
||||||
client.once("interactionCreate", ButtonInteraction => {
|
client.once("interactionCreate", async (ButtonInteraction) => {
|
||||||
if(!ButtonInteraction.isButton()) return;
|
if(!ButtonInteraction.isButton()) return;
|
||||||
const queryString = ButtonInteraction.customId;
|
const queryString = ButtonInteraction.customId;
|
||||||
if (!queryString.endsWith(ButtonInteraction.member.user.id)) {
|
if (!queryString.endsWith(ButtonInteraction.member.user.id)) {
|
||||||
|
|||||||
Reference in new issue
Block a user