summaryrefslogtreecommitdiff
path: root/src/commands/bot/clientid.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/bot/clientid.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/bot/clientid.ts')
-rw-r--r--src/commands/bot/clientid.ts29
1 files changed, 29 insertions, 0 deletions
diff --git a/src/commands/bot/clientid.ts b/src/commands/bot/clientid.ts
new file mode 100644
index 0000000..da7717e
--- /dev/null
+++ b/src/commands/bot/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 ClientIDBot extends Command {
+ constructor(client) {
+ super(client, {
+ name: 'clientid',
+ aliases: ['cid'],
+ group: 'bot',
+ 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