Browse Source

Add creation date

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

1
index.js

@ -54,6 +54,7 @@ async function aboutServer(message) {
.addField("Channels", `Total: ${message.guild.channels.cache.size} ‖ Text: ${textChannelCount} • Voice: ${voiceChannelCount} • Categories: ${categoryChannelCount}`) .addField("Channels", `Total: ${message.guild.channels.cache.size} ‖ Text: ${textChannelCount} • Voice: ${voiceChannelCount} • Categories: ${categoryChannelCount}`)
.addField("Members", `Total: ${numHumans + numBots} ‖ Human: ${numHumans} • Bot: ${numBots}`) .addField("Members", `Total: ${numHumans + numBots} ‖ Human: ${numHumans} • Bot: ${numBots}`)
.addField("Roles", numRoles) .addField("Roles", numRoles)
.addField("Created", message.guild.createdAt)
.setThumbnail(message.guild.iconURL()) .setThumbnail(message.guild.iconURL())
.setFooter(`Server ID: ${message.guild.id}`) .setFooter(`Server ID: ${message.guild.id}`)
.setTimestamp(); .setTimestamp();

Loading…
Cancel
Save