From dceb4fbbb8bd7c67c3211b0ca6a4d0737e967283 Mon Sep 17 00:00:00 2001 From: Supositware Date: Fri, 7 Apr 2023 00:25:46 +0000 Subject: [PATCH] replace arg command with a nice arrow --- events/client/interactionCreate.js | 2 +- events/client/messageCreate.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/events/client/interactionCreate.js b/events/client/interactionCreate.js index af09d61..cc7ee93 100644 --- a/events/client/interactionCreate.js +++ b/events/client/interactionCreate.js @@ -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); diff --git a/events/client/messageCreate.js b/events/client/messageCreate.js index fc7c706..e7924dc 100644 --- a/events/client/messageCreate.js +++ b/events/client/messageCreate.js @@ -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);