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); }