Show how many guild the bot in after beign added/deleted from a guild

This commit is contained in:
Supositware 2019-04-07 20:53:09 +02:00
parent 0b0852c141
commit b18c13cc2c
2 changed files with 2 additions and 0 deletions

View file

@ -24,6 +24,7 @@ class guildCreateListener extends Listener {
.addField('Numbers of members', guild.memberCount) .addField('Numbers of members', guild.memberCount)
.addField('Owner', guild.owner.user.username, true) .addField('Owner', guild.owner.user.username, true)
.addField('Owner ID', guild.owner.id, true) .addField('Owner ID', guild.owner.id, true)
.setFooter(`Im now in ${this.client.guilds.size} servers!`)
.setTimestamp(); .setTimestamp();
channel.send({ embed: addEmbed }); channel.send({ embed: addEmbed });

View file

@ -25,6 +25,7 @@ class guildCreateListener extends Listener {
.addField('Numbers of members', guild.memberCount) .addField('Numbers of members', guild.memberCount)
.addField('Owner', guild.owner.user.username, true) .addField('Owner', guild.owner.user.username, true)
.addField('Owner ID', guild.owner.id, true) .addField('Owner ID', guild.owner.id, true)
.setFooter(`Im now in ${this.client.guilds.size} servers!`)
.setTimestamp(); .setTimestamp();
channel.send({ embed: kickEmbed }); channel.send({ embed: kickEmbed });