summaryrefslogtreecommitdiff
path: root/src/commands
diff options
context:
space:
mode:
author8cy <[email protected]>2020-07-08 17:37:43 -0700
committer8cy <[email protected]>2020-07-08 17:37:43 -0700
commitc2d9d158a9fc46cdf60b6222f767e3feb213658b (patch)
treef08089e62b52110a6f2c715f2719f3689f3987ba /src/commands
parentMerge branch 'master' of https://github.com/8cy/uwufier (diff)
downloaddep-core-c2d9d158a9fc46cdf60b6222f767e3feb213658b.tar.xz
dep-core-c2d9d158a9fc46cdf60b6222f767e3feb213658b.zip
add xorstr
Diffstat (limited to 'src/commands')
-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