forked from Supositware/Haha-Yes
Show how many guild the bot in after beign added/deleted from a guild
This commit is contained in:
parent
0b0852c141
commit
b18c13cc2c
2 changed files with 2 additions and 0 deletions
|
@ -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 });
|
||||||
|
|
|
@ -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 });
|
||||||
|
|
Loading…
Reference in a new issue