summaryrefslogtreecommitdiff
path: root/src/commands/zerotwo/darling.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/zerotwo/darling.ts')
-rw-r--r--src/commands/zerotwo/darling.ts15
1 files changed, 7 insertions, 8 deletions
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) {