summaryrefslogtreecommitdiff
path: root/src/commands/bot/owner.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/bot/owner.ts')
-rw-r--r--src/commands/bot/owner.ts26
1 files changed, 26 insertions, 0 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