Skip to content
← Back to Community
#g
Profile icon
iTachBahloul

const discord = require("discord.js");

module.exports = {

name: "membercount", description: "Show members in the servers", usage: "z!membercount", aliases: ["membercount","mc"],

run: async (client, mtg, args) => {

let embed = new discord.MessageEmbed() .setThumbnail(mtg.guild.iconURL()) .setAuthor( `The Members of ${mtg.guild.name} is `) .setDescription(`**${mtg.guild.memberCount}**`) .setColor("RANDOM") .setTimestamp(mtg.timestamp = Date.now())

mtg.channel.send(embed)
}
}