summaryrefslogtreecommitdiff
path: root/src/commands
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands')
-rw-r--r--src/commands/fun/quote.ts7
-rw-r--r--src/commands/zerotwo/darling.ts15
2 files changed, 12 insertions, 10 deletions
diff --git a/src/commands/fun/quote.ts b/src/commands/fun/quote.ts
index 1173d62..5149bbc 100644
--- a/src/commands/fun/quote.ts
+++ b/src/commands/fun/quote.ts
@@ -4,6 +4,7 @@ import hsq from 'harvey-specter-quotes'
import aq from 'animequote'
import cq from 'chewbacca-quotes'
import asq from 'arnie-quote'
+import ztq from 'zero-two-quotes'
import { Command, CommandoMessage } from 'discord.js-commando';
import emoji from 'emoji-random';
@@ -29,7 +30,7 @@ module.exports = class QuoteFun extends Command {
args: [
{
key: 'atCharacter',
- prompt: 'Would you like a specific type?\nTypes: movie, harvey specter, anime, chewbacca or arnold schwarzenegger.',
+ prompt: 'Would you like a specific type?\nTypes: movie, harvey specter, anime, chewbacca, arnold schwarzenegger or zero two.',
type: 'string'
}
],
@@ -57,7 +58,7 @@ module.exports = class QuoteFun extends Command {
msg.reply(asq() + ' ' + emoji.random())
break
case 6:
- msg.reply(lotrq() + ' ' + emoji.random())
+ msg.reply(ztq() + ' ' + emoji.random())
break
}
} else if (atCharacter == 'movie' || atCharacter == 'movies') {
@@ -70,6 +71,8 @@ module.exports = class QuoteFun extends Command {
msg.reply(cq() + ' ' + emoji.random())
} else if (atCharacter == 'arnold schwarzenegger' || atCharacter == 'arnold' || atCharacter == 'schwarzenegger') {
msg.reply(asq() + ' ' + emoji.random())
+ } else if (atCharacter == 'zero two' || atCharacter == 'ditf' || atCharacter == '002' || atCharacter == 'darling in the franxx') {
+ msg.reply(ztq() + ' ' + emoji.random())
} else {
msg.reply('That was not at option. ' + emoji.random())
}
diff --git a/src/commands/zerotwo/darling.ts b/src/commands/zerotwo/darling.ts
index 18fb3ac..173407b 100644
--- a/src/commands/zerotwo/darling.ts
+++ b/src/commands/zerotwo/darling.ts
@@ -63,14 +63,13 @@ module.exports = class DarlingZeroTwo extends Command {
.then(result => console.log(result))
.catch(err => console.log(err))
- var quoteNum = Math.floor((Math.random() * 3) + 1);
- switch (quoteNum) {
- case 1: var quoteResult = 'I think I have taken a liking to you. Won\'t you be my darling?'; break
- case 2: var quoteResult = 'I like the look in your eyes. It makes my heart race. You are now my darling!'; break
- case 3: var quoteResult = 'Wow, your taste makes my heart race. It bites and lingers... The taste of danger. You are now my darling!'; break
- default: var quoteResult = 'I think I have taken a liking to you. Won\'t you be my darling?'; break
- }
- msg.reply(quoteResult)
+ const quotes = [
+ 'I think I have taken a liking to you. Won\'t you be my darling?',
+ 'I like the look in your eyes. It makes my heart race. You are now my darling!',
+ 'Wow, your taste makes my heart race. It bites and lingers... The taste of danger. You are now my darling!'
+ ]
+ let quoteNum = quotes[Math.floor(Math.random() * quotes.length)]
+ msg.reply(quoteNum)
} else if (!guild) {
msg.reply('I haven\'t found my darling yet! To set one, do `uwu!darling set`. ' + emoji.random())
} else if (guild) {