summaryrefslogtreecommitdiff
path: root/src/commands/utility/membercount.ts
diff options
context:
space:
mode:
author8cy <[email protected]>2020-04-23 19:06:09 -0700
committer8cy <[email protected]>2020-04-23 19:06:09 -0700
commit8a2c9df3fd75a08d2b4acabe0b3a6bd62da22b34 (patch)
tree08e8b18aebae0b3836de94484185fabb14a860e8 /src/commands/utility/membercount.ts
parentchange mongdburl to mlab, v7.4.2 (diff)
downloaddep-core-8a2c9df3fd75a08d2b4acabe0b3a6bd62da22b34.tar.xz
dep-core-8a2c9df3fd75a08d2b4acabe0b3a6bd62da22b34.zip
shift groups around, new mod cmds, v7.5.0
Diffstat (limited to 'src/commands/utility/membercount.ts')
-rw-r--r--src/commands/utility/membercount.ts29
1 files changed, 0 insertions, 29 deletions
diff --git a/src/commands/utility/membercount.ts b/src/commands/utility/membercount.ts
deleted file mode 100644
index 4d64f5d..0000000
--- a/src/commands/utility/membercount.ts
+++ /dev/null
@@ -1,29 +0,0 @@
-import { Command, CommandoMessage } from 'discord.js-commando';
-import emoji from 'emoji-random';
-
-module.exports = class MemberCountUtility extends Command {
- constructor(client) {
- super(client, {
- name: 'membercount',
- aliases: ['memberc', 'mcount', 'mc'],
- group: 'utility',
- memberName: 'membercount',
- description: 'Tells you how many members are in the current server.',
- throttling: {
- usages: 5,
- duration: 30
- },
- examples: [
- 'uwu!membercount',
- 'uwu!memberc',
- 'uwu!mcount',
- 'uwu!mc'
- ],
- userPermissions: ['SEND_MESSAGES', 'READ_MESSAGE_HISTORY'],
- clientPermissions: ['SEND_MESSAGES', 'READ_MESSAGE_HISTORY']
- });
- }
- run(msg: CommandoMessage) {
- msg.reply(`There are **${msg.guild.memberCount}** members in **${msg.guild.name}**. ` + emoji.random());
- }
-}; \ No newline at end of file