summaryrefslogtreecommitdiff
path: root/commands/fun
diff options
context:
space:
mode:
author8cy <[email protected]>2020-04-11 20:57:47 -0700
committer8cy <[email protected]>2020-04-11 20:57:47 -0700
commit6295d78afbfee11441dbd425cea6636e38049e86 (patch)
tree83a8351a6aaa70e9720fe14eb0062e2824b86db9 /commands/fun
parentfix server command, v2.1.2 (diff)
downloads5nical-6295d78afbfee11441dbd425cea6636e38049e86.tar.xz
s5nical-6295d78afbfee11441dbd425cea6636e38049e86.zip
add sharding + help stuff, v3.0.0
- add sharding - add examples - change up command aliases - formatting
Diffstat (limited to 'commands/fun')
-rw-r--r--commands/fun/8ball.js3
-rw-r--r--commands/fun/dm.js14
-rw-r--r--commands/fun/emoji.js3
-rw-r--r--commands/fun/gay.js12
-rw-r--r--commands/fun/quote.js20
-rw-r--r--commands/fun/respect.js2
-rw-r--r--commands/fun/say.js5
7 files changed, 48 insertions, 11 deletions
diff --git a/commands/fun/8ball.js b/commands/fun/8ball.js
index c5702f1..04aa8e8 100644
--- a/commands/fun/8ball.js
+++ b/commands/fun/8ball.js
@@ -12,7 +12,8 @@ module.exports = class EightBallFun extends Command {
throttling: {
usages: 5,
duration: 30
- }
+ },
+ examples: ['s5n!8ball', 's5n!8b']
});
}
diff --git a/commands/fun/dm.js b/commands/fun/dm.js
index 472af1e..67bac7d 100644
--- a/commands/fun/dm.js
+++ b/commands/fun/dm.js
@@ -5,7 +5,12 @@ module.exports = class DMFun extends Command {
constructor(client) {
super(client, {
name: 'dm',
- aliases: ['directmessage', 'direct-message'],
+ aliases: [
+ 'directmessage',
+ 'directmsg',
+ 'direct-message',
+ 'direct-msg'
+ ],
group: 'fun',
memberName: 'dm',
description: 'dm someone',
@@ -16,6 +21,13 @@ module.exports = class DMFun extends Command {
prompt: 'what would u like to send',
type: 'string'
}
+ ],
+ examples: [
+ 's5n!dm @sin#1337 hi',
+ 's5n!directmessage @sin#1337 hey',
+ 's5n!directmsg @sin#1337 hello',
+ 's5n!direct-message @sin#1337 yo',
+ 's5n!direct-msg @sin#1337 aye',
]
});
}
diff --git a/commands/fun/emoji.js b/commands/fun/emoji.js
index ab3e47c..027cd55 100644
--- a/commands/fun/emoji.js
+++ b/commands/fun/emoji.js
@@ -12,7 +12,8 @@ module.exports = class EmojiFun extends Command {
throttling: {
usages: 5,
duration: 30
- }
+ },
+ examples: ['s5n!emoji', 's5n!moji']
});
}
run(msg) {
diff --git a/commands/fun/gay.js b/commands/fun/gay.js
index 1aa310a..526be74 100644
--- a/commands/fun/gay.js
+++ b/commands/fun/gay.js
@@ -4,10 +4,20 @@ module.exports = class GayFun extends Command {
constructor(client) {
super(client, {
name: 'gay',
- aliases: ['gayamount', 'gayrange', 'gayrate'],
+ aliases: [
+ 'gayamount',
+ 'gayrange',
+ 'gayrate'
+ ],
group: 'fun',
memberName: 'gay',
description: 'tells you your gay-ness amount',
+ examples: [
+ 's5n!gay',
+ 's5n!gayamount',
+ 's5n!gayrange',
+ 's5n!gayrate'
+ ]
});
}
run(msg) {
diff --git a/commands/fun/quote.js b/commands/fun/quote.js
index 6ad0f89..2e0d2c9 100644
--- a/commands/fun/quote.js
+++ b/commands/fun/quote.js
@@ -13,17 +13,25 @@ module.exports = class QuoteFun extends Command {
throttling: {
usages: 5,
duration: 30
- }
+ },
+ examples: ['s5n!quote', 's5n!quote finn'],
+ args: [
+ {
+ key: 'atCharacter',
+ prompt: 'would u like a specific character? (finn, jake, ice king, no)',
+ type: 'string'
+ }
+ ]
});
}
- run(msg, args) {
- if (!args.length) {
+ run(msg, { atCharacter }) {
+ if (!atCharacter || atCharacter == 'no' || atCharacter == 'n') {
msg.reply(atquotes.getQuote() + ' ' + emoji.random());
- } else if (args[0] == 'finn') {
+ } else if (atCharacter == 'finn' || atCharacter == 'f') {
msg.reply(atquotes.getFinnQuote() + ' ' + emoji.random());
- } else if (args[0] == 'jake') {
+ } else if (atCharacter == 'jake' || atCharacter == 'j') {
msg.reply(atquotes.getJakeQuote() + ' ' + emoji.random());
- } else if (args[0] == 'ice-king') {
+ } else if (atCharacter == 'ice king' || atCharacter == 'ik') {
msg.reply(atquotes.getIceKingQuote() + ' ' + emoji.random());
}
}
diff --git a/commands/fun/respect.js b/commands/fun/respect.js
index 75d9707..863c9b0 100644
--- a/commands/fun/respect.js
+++ b/commands/fun/respect.js
@@ -8,6 +8,8 @@ module.exports = class RespectFun extends Command {
group: 'fun',
memberName: 'respect',
description: 'press f to pay respects',
+ examples: ['s5n!respect', 's5n!f'],
+ guildOnly: true
});
}
run(msg) {
diff --git a/commands/fun/say.js b/commands/fun/say.js
index cb344c9..703b95f 100644
--- a/commands/fun/say.js
+++ b/commands/fun/say.js
@@ -14,13 +14,16 @@ module.exports = class SayFun extends Command {
prompt: 'u cant send an empty msg lol',
type: 'string'
}
- ]
+ ],
+ examples: ['s5n!say hi']
});
}
run(msg, { say }) {
if (msg.member.hasPermission('KICK_MEMBERS')) {
msg.channel.send(say);
msg.delete();
+ } else {
+ msg.reply('insufficent perms homie');
}
}
}; \ No newline at end of file