From c484753ee15dbe2a5ce9c6297f22fabb52ce3b7e Mon Sep 17 00:00:00 2001 From: Unknown Date: Sat, 24 Feb 2018 14:59:35 -0500 Subject: New Command system --- commands/Fun/8ball.js | 47 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 commands/Fun/8ball.js (limited to 'commands/Fun/8ball.js') diff --git a/commands/Fun/8ball.js b/commands/Fun/8ball.js new file mode 100644 index 0000000..3ebd1c3 --- /dev/null +++ b/commands/Fun/8ball.js @@ -0,0 +1,47 @@ +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!'); + + const responses = [ + 'May the odds ever be in your favor...', + 'Definetely not! Did you ever think that this would work?', + 'Most definetely', + 'Seems probable..', + 'Sure, why not?', + 'No!', + 'Probably.', + 'If a sentience can do a backflip, then this can happen!', + '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(':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>', +}; -- cgit v1.2.3