From 0da14b210bd09535c388bfbe5aeb74bdac200991 Mon Sep 17 00:00:00 2001 From: pokesudenk Date: Sat, 24 Feb 2018 13:53:11 -0500 Subject: 8ball --- commands/8ball.js | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 commands/8ball.js (limited to 'commands') diff --git a/commands/8ball.js b/commands/8ball.js new file mode 100644 index 0000000..162ad33 --- /dev/null +++ b/commands/8ball.js @@ -0,0 +1,29 @@ +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 = [ + ':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!*' + ]; + + 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 -- cgit v1.2.3