From 1e1b78e24f9e37a71446662d8409a197207961fb Mon Sep 17 00:00:00 2001 From: Jan <26145882+imverum@users.noreply.github.com> Date: Wed, 23 Dec 2020 13:50:02 +0100 Subject: [PATCH] aaaaaaaaaaaa --- util/eventHandler.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/eventHandler.js b/util/eventHandler.js index 862e4dc..6ef2a3f 100644 --- a/util/eventHandler.js +++ b/util/eventHandler.js @@ -31,7 +31,7 @@ client.on('message', message => { const cmd = commands.find(cmd => cmd.meta?.name == cmdName || cmd.meta?.aliases?.indexOf(cmdName) > -1); if (!cmd) return require('./69Reply').execute(message); - logger.info(`[CMD] ${message.author.id} ${message.author.tag} => ${cmdName}, ${args.join(' ')}`); + logger.info(`[CMD] ${message.author.id} ${message.author.tag} => ${cmdName}${args.length > 0 ? ',' : ''} ${args.join(' ')}`); if (cmd.meta?.staffOnly && !message.member.permissions.has('ADMINISTRATOR')) { logger.warn(`${message.author.tag} => Refusing to run staff command`);