diff options
| author | 8cy <[email protected]> | 2020-04-23 19:06:09 -0700 |
|---|---|---|
| committer | 8cy <[email protected]> | 2020-04-23 19:06:09 -0700 |
| commit | 8a2c9df3fd75a08d2b4acabe0b3a6bd62da22b34 (patch) | |
| tree | 08e8b18aebae0b3836de94484185fabb14a860e8 /src/commands/utility/version.ts | |
| parent | change mongdburl to mlab, v7.4.2 (diff) | |
| download | dep-core-8a2c9df3fd75a08d2b4acabe0b3a6bd62da22b34.tar.xz dep-core-8a2c9df3fd75a08d2b4acabe0b3a6bd62da22b34.zip | |
shift groups around, new mod cmds, v7.5.0
Diffstat (limited to 'src/commands/utility/version.ts')
| -rw-r--r-- | src/commands/utility/version.ts | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/src/commands/utility/version.ts b/src/commands/utility/version.ts deleted file mode 100644 index 0de170f..0000000 --- a/src/commands/utility/version.ts +++ /dev/null @@ -1,35 +0,0 @@ -import { Command, CommandoMessage } from 'discord.js-commando'; -import emoji from 'emoji-random'; -import { MessageEmbed } from 'discord.js'; -import config from '../../config.json'; - -export default class VersionUtility extends Command { - constructor(client) { - super(client, { - name: 'version', - group: 'utility', - memberName: 'version', - description: 'Tells you the bot\'s current build version.', - throttling: { - usages: 5, - duration: 30 - }, - examples: [ - 'uwu!version' - ], - userPermissions: ['SEND_MESSAGES', 'READ_MESSAGE_HISTORY'], - clientPermissions: ['SEND_MESSAGES', 'READ_MESSAGE_HISTORY'] - }); - } - run(msg: CommandoMessage) { - msg.channel.send('Please wait...').then(m => { - m.edit(`** **`); - - let emb = new MessageEmbed() - .setDescription(`uwufier\'s current build version is **v${config['version']}**. ` + emoji.random()) - .setColor(0xFFCC4D) - - msg.channel.send(emb); - }); - } -}
\ No newline at end of file |