Browse Source

Add total for channels and members

master
Abheek Dhawan 4 years ago
parent
commit
1a415d6adf
  1. 4
      index.js

4
index.js

@ -50,8 +50,8 @@ async function aboutServer(message) {
.addField("Owner", `<@${message.guild.ownerID}>`)
.addField("Region", message.guild.region)
.addField("Verification Level", message.guild.verificationLevel)
.addField("Channels", `Text: ${textChannelCount} • Voice: ${voiceChannelCount} • Categories: ${categoryChannelCount}`)
.addField("Members", `Human: ${numHumans} • Bot: ${numBots}`)
.addField("Channels", `Total: ${message.guild.channels.cache.size} ‖ Text: ${textChannelCount} • Voice: ${voiceChannelCount} • Categories: ${categoryChannelCount}`)
.addField("Members", `Total: ${numHumans + numBots}Human: ${numHumans} • Bot: ${numBots}`)
.setThumbnail(message.guild.iconURL())
.setFooter(`Server ID: ${message.guild.id}`)
.setTimestamp();

Loading…
Cancel
Save