replace arg command with a nice arrow

Slash-V14
Supositware 1 year ago
parent 39ff404deb
commit dceb4fbbb8

@ -83,7 +83,7 @@ export default {
}); });
if (!isOptOut) { if (!isOptOut) {
console.log(`\x1b[33m${commandName}\x1b[0m with args ${JSON.stringify(args)}`); console.log(`\x1b[33m\x1b[0m with args ${JSON.stringify(args)}`);
} }
await command.execute(interaction, args, client); await command.execute(interaction, args, client);

@ -405,8 +405,8 @@ export default {
args[payloadName] = payload; args[payloadName] = payload;
} }
if (!isOptOut) { if (!isOptOut && argsLength > 0) {
console.log(`\x1b[33m${commandName}\x1b[0m with args ${JSON.stringify(args)}`); console.log(`\x1b[33m\x1b[0m with args ${JSON.stringify(args)}`);
} }
await command.execute(message, args, client); await command.execute(message, args, client);

Loading…
Cancel
Save