From a405df66c9b87d09e708254e2a34a9e5764529e2 Mon Sep 17 00:00:00 2001 From: ItzEmerald Date: Tue, 15 Jun 2021 18:09:06 +0100 Subject: [PATCH] Update message.js --- events/message.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/events/message.js b/events/message.js index 800ea86..7799cd6 100755 --- a/events/message.js +++ b/events/message.js @@ -15,6 +15,8 @@ module.exports = async (bot, message) => { let messageArray = message.content.split(" "); const args = message.content.slice(supportbot.Prefix.length).trim().split(/ +/g); const command = args.shift().toLowerCase(); + + console.log(`\u001b[32m`, `[${supportbot.Bot_Name}]`, `\u001b[36m`, `${message.author.tag}`, `\u001b[33m`, `has executed the command`, `\u001b[36m`,`${supportbot.Prefix}${command}`) const cmd = bot.commands.get(command); if(!cmd) return;