diff options
| author | 8cy <[email protected]> | 2020-04-23 02:11:00 -0700 |
|---|---|---|
| committer | 8cy <[email protected]> | 2020-04-23 02:11:00 -0700 |
| commit | 5ac7d3481b6c72732c941b7c8908376d1f13d16c (patch) | |
| tree | 7319b9aecefdf9da875fc2fb286fb2ee30714b2f /src/commands/utility/clientid.ts | |
| parent | formatting, v7.3.2 (diff) | |
| download | dep-core-5ac7d3481b6c72732c941b7c8908376d1f13d16c.tar.xz dep-core-5ac7d3481b6c72732c941b7c8908376d1f13d16c.zip | |
remove nek, add clientid, v7.3.3
Diffstat (limited to 'src/commands/utility/clientid.ts')
| -rw-r--r-- | src/commands/utility/clientid.ts | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/src/commands/utility/clientid.ts b/src/commands/utility/clientid.ts new file mode 100644 index 0000000..28073c5 --- /dev/null +++ b/src/commands/utility/clientid.ts @@ -0,0 +1,29 @@ +import { Command, CommandoMessage } from 'discord.js-commando'; +import emoji from 'emoji-random'; +import { MessageEmbed } from 'discord.js'; + +module.exports = class ClientIDUtility extends Command { + constructor(client) { + super(client, { + name: 'clientid', + aliases: ['cid'], + group: 'utility', + memberName: 'clientid', + description: 'Tells you the bot\'s client ID version.', + examples: ['uwu!clientid', 'uwu!cid'], + 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 client ID is **699473263998271489**. ' + emoji.random()) + .setColor(0xFFCC4D) + + msg.channel.send(emb); + }); + } +};
\ No newline at end of file |