replace arg command with a nice arrow

This commit is contained in:
Supositware 2023-04-07 00:25:46 +00:00
parent 39ff404deb
commit dceb4fbbb8
2 changed files with 3 additions and 3 deletions

View file

@ -83,7 +83,7 @@ export default {
});
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);

View file

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