This commit is contained in:
JonnyBro 2021-12-25 15:18:09 +05:00
parent 8fef235a39
commit 6d7e196232

View file

@ -18,7 +18,7 @@ class Debug extends Command {
async run (message, args, data) { async run (message, args, data) {
const action = args[0]; const action = args[0];
if (!action || !["set", "add"].includes(status)) return message.error("owner/debug:NO_ACTION"); if (!action || !["set", "add"].includes(action)) return message.error("owner/debug:NO_ACTION");
const status = args[1]; const status = args[1];
if (!status || !["level", "xp", "credits", "bank", "rep"].includes(status)) return message.error("owner/debug:NO_STATUS"); if (!status || !["level", "xp", "credits", "bank", "rep"].includes(status)) return message.error("owner/debug:NO_STATUS");