aboutsummaryrefslogtreecommitdiff
path: root/commands/8ball.js
diff options
context:
space:
mode:
authorpokesudenk <thisis@notarealema.il>2018-02-24 13:53:11 -0500
committerpokesudenk <thisis@notarealema.il>2018-02-24 13:53:11 -0500
commit0da14b210bd09535c388bfbe5aeb74bdac200991 (patch)
tree9384a7682c67df3bd8fadc7bcec89a3c9d39d44e /commands/8ball.js
parent6858acb6a5274a9df12d2e264b1cb10f86cbc091 (diff)
downloadPokeBot-0da14b210bd09535c388bfbe5aeb74bdac200991.tar.gz
PokeBot-0da14b210bd09535c388bfbe5aeb74bdac200991.tar.bz2
PokeBot-0da14b210bd09535c388bfbe5aeb74bdac200991.zip
8ball
Diffstat (limited to 'commands/8ball.js')
-rw-r--r--commands/8ball.js29
1 files changed, 29 insertions, 0 deletions
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