From b18c13cc2c2e8678c2ef2eef747d7cc5fad246fb Mon Sep 17 00:00:00 2001 From: Supositware Date: Sun, 7 Apr 2019 20:53:09 +0200 Subject: [PATCH] Show how many guild the bot in after beign added/deleted from a guild --- event/listeners/guildCreate.js | 1 + event/listeners/guildDelete.js | 1 + 2 files changed, 2 insertions(+) diff --git a/event/listeners/guildCreate.js b/event/listeners/guildCreate.js index e3deb812..6fe9c96d 100644 --- a/event/listeners/guildCreate.js +++ b/event/listeners/guildCreate.js @@ -24,6 +24,7 @@ class guildCreateListener extends Listener { .addField('Numbers of members', guild.memberCount) .addField('Owner', guild.owner.user.username, true) .addField('Owner ID', guild.owner.id, true) + .setFooter(`Im now in ${this.client.guilds.size} servers!`) .setTimestamp(); channel.send({ embed: addEmbed }); diff --git a/event/listeners/guildDelete.js b/event/listeners/guildDelete.js index c5b037c0..8e802d14 100644 --- a/event/listeners/guildDelete.js +++ b/event/listeners/guildDelete.js @@ -25,6 +25,7 @@ class guildCreateListener extends Listener { .addField('Numbers of members', guild.memberCount) .addField('Owner', guild.owner.user.username, true) .addField('Owner ID', guild.owner.id, true) + .setFooter(`Im now in ${this.client.guilds.size} servers!`) .setTimestamp(); channel.send({ embed: kickEmbed });