population count command discord.js code example
Example: java script member count embed
Const { MessageEmbed } = require('discord.js')
module.exports = {
name: 'stats',
description: 'Display info about this server.',
execute(message) {
const embed = new MessageEmbed()
.setColor('RANDOM')
.setTitle(`Title Display Here`)
.setDescription(`Member Count: ${message.guild.memberCount}`)
.setFooter(`Member Count Command: Made By Paalua#2020 On Discord`)
message.channel.send(embed)
},
};