Skip to content

Commit

Permalink
Update logToConsole
Browse files Browse the repository at this point in the history
  • Loading branch information
nathen418 committed Feb 10, 2021
1 parent 74f7d4f commit 0f94a9b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions actions/logToConsole.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 0f94a9b

Please sign in to comment.