diff options
Diffstat (limited to 'commands/utility/membercount.js')
| -rw-r--r-- | commands/utility/membercount.js | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/commands/utility/membercount.js b/commands/utility/membercount.js new file mode 100644 index 0000000..4ec7978 --- /dev/null +++ b/commands/utility/membercount.js @@ -0,0 +1,21 @@ +const { Command } = require('discord.js-commando'); + +module.exports = class MemberCountUtility extends Command { + constructor(client) { + super(client, { + name: 'membercount', + aliases: ['memberc', 'mcount', 'mc'], + group: 'utility', + memberName: 'membercount', + description: 'says how many members there are in the server', + throttling: { + usages: 5, + duration: 30 + }, + guildOnly: true + }); + } + run(msg) { + msg.reply(`there are **${msg.guild.memberCount}** members in **${msg.guild.name}**`); + } +};
\ No newline at end of file |