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;