summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author8cy <[email protected]>2020-07-07 06:22:25 -0700
committer8cy <[email protected]>2020-07-07 06:22:25 -0700
commit13953464e9fe5dc7c91bee3b08163edb5a1d4750 (patch)
tree89d95e8443c9dbe244d2c44a43026aaf006336f0
parentsay has private perms now (diff)
downloaddep-core-13953464e9fe5dc7c91bee3b08163edb5a1d4750.tar.xz
dep-core-13953464e9fe5dc7c91bee3b08163edb5a1d4750.zip
add owner cmd
-rw-r--r--src/commands/bot/owner.ts26
-rw-r--r--src/commands/bot/status.ts8
-rw-r--r--src/commands/emma/art.ts2
3 files changed, 30 insertions, 6 deletions
diff --git a/src/commands/bot/owner.ts b/src/commands/bot/owner.ts
new file mode 100644
index 0000000..ac3ba93
--- /dev/null
+++ b/src/commands/bot/owner.ts
@@ -0,0 +1,26 @@
+import { Command, CommandoMessage } from 'discord.js-commando';
+import emoji from 'emoji-random';
+import { MessageEmbed } from 'discord.js';
+
+module.exports = class OwnerBot extends Command {
+ constructor(client) {
+ super(client, {
+ name: 'owner',
+ group: 'bot',
+ memberName: 'owner',
+ description: 'Self explanatory.',
+ examples: ['uwu!owner'],
+ userPermissions: ['SEND_MESSAGES', 'READ_MESSAGE_HISTORY'],
+ clientPermissions: ['SEND_MESSAGES', 'READ_MESSAGE_HISTORY'],
+ throttling: {
+ usages: 5,
+ duration: 30
+ },
+ });
+ }
+ run(msg: CommandoMessage) {
+ let emb = new MessageEmbed()
+ .setDescription(`<@217348698294714370> is the owner/ maintainer of this bot. ${emoji.random()}`)
+ msg.say(emb)
+ }
+}; \ No newline at end of file
diff --git a/src/commands/bot/status.ts b/src/commands/bot/status.ts
index 3f53221..dbb5080 100644
--- a/src/commands/bot/status.ts
+++ b/src/commands/bot/status.ts
@@ -25,10 +25,10 @@ module.exports = class StatusBot extends Command {
}
],
examples: [
- 's5n!botstatus type watching',
- 's5n!status t w',
- 's5n!status message youtube',
- 's5n!bs m lol'
+ 'uwu!botstatus type watching',
+ 'uwu!status t w',
+ 'uwu!status message youtube',
+ 'uwu!bs m lol'
],
ownerOnly: true,
guarded: true
diff --git a/src/commands/emma/art.ts b/src/commands/emma/art.ts
index 9465fb2..ee8c451 100644
--- a/src/commands/emma/art.ts
+++ b/src/commands/emma/art.ts
@@ -193,8 +193,6 @@ module.exports = class ArtEmma extends Command {
})
}
})
- } else if (type == 'admin-test') {
- return msg.reply('**ADMIN INFO:** Art channel bound.')
}
/* else {