From c2d9d158a9fc46cdf60b6222f767e3feb213658b Mon Sep 17 00:00:00 2001 From: 8cy <50817549+8cy@users.noreply.github.com> Date: Wed, 8 Jul 2020 17:37:43 -0700 Subject: add xorstr --- src/commands/utility/xorstr.ts | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 src/commands/utility/xorstr.ts (limited to 'src/commands') diff --git a/src/commands/utility/xorstr.ts b/src/commands/utility/xorstr.ts new file mode 100644 index 0000000..188ed75 --- /dev/null +++ b/src/commands/utility/xorstr.ts @@ -0,0 +1,23 @@ +import { Command, CommandoMessage, CommandoClient } from 'discord.js-commando'; + +module.exports = class XorStrUtility extends Command { + constructor(client: CommandoClient) { + super(client, { + name: 'xorstr', + aliases: ['xor'], + group: 'utility', + memberName: 'xorstr', + description: 'Gives you Dexor\'s XorStr link and documentation.', + examples: ['uwu!xorstr', 'uwu!xor'], + userPermissions: ['SEND_MESSAGES', 'READ_MESSAGE_HISTORY'], + clientPermissions: ['SEND_MESSAGES', 'READ_MESSAGE_HISTORY'], + throttling: { + usages: 5, + duration: 30 + }, + }); + } + run(msg: CommandoMessage) { + return msg.reply('https://github.com/JustasMasiulis/xorstr'); + } +}; \ No newline at end of file -- cgit v1.2.3