forked from Supositware/Haha-Yes
replace arg command with a nice arrow
This commit is contained in:
parent
39ff404deb
commit
dceb4fbbb8
2 changed files with 3 additions and 3 deletions
|
@ -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…
Reference in a new issue