Fix server info

This commit is contained in:
FLGX 2020-01-25 13:46:20 +01:00
parent e445bb1ec0
commit b496340e43
No known key found for this signature in database
GPG key ID: 99AB49566C2414C9

View file

@ -26,6 +26,8 @@ exports.run = (client, message) => {
content = `**ID:** ${guild.id}\n**Owner:** ${guild.owner}\n**Region:** ${guild.region}\n**Verification Level:** ${vlvl}\n**Members:** ${guild.memberCount}\n**Roles:** ${roleCount}\n**Channels:** ${chanCount}\n**Created:** ${guild.createdAt}${eListOutput}`;
if (content.length > 2048) {
eListOutput = "";
content = `**ID:** ${guild.id}\n**Owner:** ${guild.owner}\n**Region:** ${guild.region}\n**Verification Level:** ${vlvl}\n**Members:** ${guild.memberCount}\n**Roles:** ${roleCount}\n**Channels:** ${chanCount}\n**Created:** ${guild.createdAt}`;
}
let embed = new Discord.RichEmbed()