This commit is contained in:
loicbersier 2019-01-01 08:52:48 +01:00
parent 3f304f9b50
commit cc30d7265d
2 changed files with 2 additions and 2 deletions

View file

@ -12,7 +12,7 @@ class guildCreateListener extends Listener {
async exec(guild, client) { async exec(guild, client) {
console.log(`${guild.name}\n${guild.memberCount} users\nOwner: ${guild.owner.user.username}\nOwner ID: ${guild.owner}`); console.log(`${guild.name}\n${guild.memberCount} users\nOwner: ${guild.owner.user.username}\nOwner ID: ${guild.owner}`);
const channel = client.channels.get(statsChannel); const channel = this.client.channels.get(statsChannel);
const addEmbed = new Discord.RichEmbed() const addEmbed = new Discord.RichEmbed()
.setColor("#52e80d") .setColor("#52e80d")
.setTitle('Someone added me ! YAY :D') .setTitle('Someone added me ! YAY :D')

View file

@ -12,7 +12,7 @@ class guildCreateListener extends Listener {
async exec(guild, client) { async exec(guild, client) {
console.log(`***BOT KICKED***\n${guild.name}\n${guild.memberCount} users\nOwner: ${guild.owner.user.username}\nOwner ID: ${guild.owner}\n***BOT KICKED***`); console.log(`***BOT KICKED***\n${guild.name}\n${guild.memberCount} users\nOwner: ${guild.owner.user.username}\nOwner ID: ${guild.owner}\n***BOT KICKED***`);
const channel = client.channels.get(statsChannel); const channel = this.client.channels.get(statsChannel);
const kickEmbed = new Discord.RichEmbed() const kickEmbed = new Discord.RichEmbed()
.setColor("#FF0000") .setColor("#FF0000")