This commit is contained in:
parent
3f304f9b50
commit
cc30d7265d
2 changed files with 2 additions and 2 deletions
|
@ -12,7 +12,7 @@ class guildCreateListener extends Listener {
|
|||
|
||||
async exec(guild, client) {
|
||||
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()
|
||||
.setColor("#52e80d")
|
||||
.setTitle('Someone added me ! YAY :D')
|
||||
|
|
|
@ -12,7 +12,7 @@ class guildCreateListener extends Listener {
|
|||
|
||||
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***`);
|
||||
const channel = client.channels.get(statsChannel);
|
||||
const channel = this.client.channels.get(statsChannel);
|
||||
|
||||
const kickEmbed = new Discord.RichEmbed()
|
||||
.setColor("#FF0000")
|
||||
|
|
Loading…
Reference in a new issue