forked from Supositware/Haha-Yes
This commit is contained in:
parent
d9651a24c5
commit
3f304f9b50
2 changed files with 2 additions and 2 deletions
|
@ -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()
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue