From b3f97d12268bc13c5541f9109f4edd37a02cc1b6 Mon Sep 17 00:00:00 2001 From: Unknown Date: Sat, 24 Feb 2018 13:57:05 -0500 Subject: [PATCH] real 8ball --- commands/8ball.js | 63 ++++++++++++++++++++++++++++------------------- 1 file changed, 37 insertions(+), 26 deletions(-) diff --git a/commands/8ball.js b/commands/8ball.js index 162ad33..cb085b3 100644 --- a/commands/8ball.js +++ b/commands/8ball.js @@ -1,29 +1,40 @@ exports.run = async (bot, msg, args) => { - if (args.length < 1) return msg.reply('You need to ask the 8-ball something for it to respond!'); + if (args.length < 1) return msg.reply('You need to ask the 8-ball something for it to respond!'); - const responses = [ - ':8ball: *May the odds ever be in your favor...*', - ':8ball: *Definetely not! Did you ever think that this would work?*', - ':8ball: *Most definetely*', - ':8ball: *Seems probable..*', - ':8ball: *Sure, why not?*', - ':8ball: *No!*', - ':8ball: *Probably.*', - ':8ball: *If a sentience can do a backflip, then this can happen!*' - ]; + const responses = [ + 'It is certain', + 'It is decidedly so', + 'Without a doubt', + 'Yes definitely', + 'You may rely on it', + 'As I see it, yes', + 'Most likely', + 'Outlook good', + 'Yes', + 'Signs point to yes', + 'Reply hazy try again', + 'Ask again later', + 'Better not tell you now', + 'Cannot predict now', + 'Concentrate and ask again', + 'Don\'t count on it', + 'My reply is no', + 'My sources say no', + 'Outlook not so good', + 'Very doubtful', + ]; - msg.channel.send(responses[Math.floor(Math.random() * responses.length)]); - }; - - exports.conf = { - aliases: [], - guildOnly: true, - }; - - exports.help = { - name: '8ball', - description: 'Ask the magic 8-ball something. It will answer back, and be as much of a smart-alac as it wants to.', - usage: '<...question>', - category: 'Fun', - }; - \ No newline at end of file + msg.channel.send(':8ball ' + (responses[Math.floor(Math.random() * responses.length)])); +}; + +exports.conf = { + aliases: [], + guildOnly: true, +}; + +exports.help = { + name: '8ball', + description: 'Ask the magic 8-ball something. It will answer back, and be as much of a smart-alac as it wants to.', + usage: '<...question>', + category: 'Fun', +};