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