From 0f94a9b9b72c1a1749140f5e0c93e82f45ff4393 Mon Sep 17 00:00:00 2001 From: Nate Goldsborough Date: Wed, 10 Feb 2021 16:25:37 -0600 Subject: [PATCH] Update logToConsole --- actions/logToConsole.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/actions/logToConsole.js b/actions/logToConsole.js index 03d6680e..28602496 100644 --- a/actions/logToConsole.js +++ b/actions/logToConsole.js @@ -21,18 +21,18 @@ module.exports = { }, memberJoin: async function (member) { - console.log(`MEMBER JOIN`.teal, `[${member.guild.name}]`.green, `[${member.username}]`.yellow) + console.log(`MEMBER JOIN`.blue, `[${member.guild.name}]`.green, `[${member.user.username}]`.yellow) try { - bot.channels.cache.get(process.env.REPORTING_CHANNEL).send(`**MEMBER JOIN** - [${member.guild.name}] [${member.username}]`) + bot.channels.cache.get(process.env.REPORTING_CHANNEL).send(`**MEMBER JOIN** - [${member.guild.name}] [${member.user.username}]`) } catch (e) { console.log(e); } }, memberLeave: async function (member) { - console.log(`MEMBER LEAVE`.teal, `[${member.guild.name}]`.green, `[${member.username}]`.yellow) + console.log(`MEMBER LEAVE`.blue, `[${member.guild.name}]`.green, `[${member.user.username}]`.yellow) try { - bot.channels.cache.get(process.env.REPORTING_CHANNEL).send(`**MEMBER LEAVE** - [${member.guild.name}] [${member.username}]`) + bot.channels.cache.get(process.env.REPORTING_CHANNEL).send(`**MEMBER LEAVE** - [${member.guild.name}] [${member.user.username}]`) } catch (e) { console.log(e); }