📜  java 脚本成员计数嵌入 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:01:40.701000             🧑  作者: Mango

代码示例1
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)
    },
};