This commit is contained in:
loicbersier 2019-01-01 08:51:44 +01:00
parent d9651a24c5
commit 3f304f9b50
2 changed files with 2 additions and 2 deletions

View file

@ -10,7 +10,7 @@ class guildCreateListener extends Listener {
});
}
async exec(guild) {
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 addEmbed = new Discord.RichEmbed()

View file

@ -10,7 +10,7 @@ class guildCreateListener extends Listener {
});
}
async exec(guild) {
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);