Show how many guild/user is now after someone add/kick the bot
This commit is contained in:
parent
0e91a42f4a
commit
73b15a0e7a
1 changed files with 2 additions and 2 deletions
4
index.js
4
index.js
|
@ -55,7 +55,7 @@ client.registry
|
||||||
.setDescription(`${guild.name}\n${guild.id}\n${guild.memberCount} users\nOwner: ${guild.owner.user.username}\n(${guild.owner.id})`)
|
.setDescription(`${guild.name}\n${guild.id}\n${guild.memberCount} users\nOwner: ${guild.owner.user.username}\n(${guild.owner.id})`)
|
||||||
.setTimestamp()
|
.setTimestamp()
|
||||||
|
|
||||||
channel.send({ embed: addEmbed });
|
channel.send({ embed: addEmbed }`\n\nIm now in **${client.guilds.size}** servers with **${client.users.size}** users`);
|
||||||
});
|
});
|
||||||
|
|
||||||
// When bot get kicked from a guild send embeds with details about it.
|
// When bot get kicked from a guild send embeds with details about it.
|
||||||
|
@ -72,7 +72,7 @@ client.registry
|
||||||
.setTimestamp()
|
.setTimestamp()
|
||||||
|
|
||||||
console.log('***BOT KICKED***')
|
console.log('***BOT KICKED***')
|
||||||
channel.send({ embed: kickEmbed });
|
channel.send({ embed: kickEmbed }`\n\nIm now in **${client.guilds.size}** servers with **${client.users.size}** users`);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue