diff options
Diffstat (limited to 'commands/8ball.js')
| -rw-r--r-- | commands/8ball.js | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/commands/8ball.js b/commands/8ball.js new file mode 100644 index 0000000..e865176 --- /dev/null +++ b/commands/8ball.js @@ -0,0 +1,19 @@ +const Discord = require('discord.js'); + +module.exports = { + name: '8ball', + aliases: ['ball', '8b'], + description: '', + execute(msg) { + r = ['yes~ uwu', 'no.', 'yes!', 'no!', 'what, no.', 'yes.', 'maybe.', 'perhaps.', 'try again.', 'i\'m not sure.']; + + var s = r[Math.floor(Math.random() * r.length)]; + + emb = new Discord.RichEmbed() + + .setAuthor('the 8-ball says', 'https://upload.wikimedia.org/wikipedia/commons/thumb/f/fd/8-Ball_Pool.svg/500px-8-Ball_Pool.svg.png') + .setDescription('`' + s + '`'); + + msg.channel.send(RichEmbed = emb); + } +};
\ No newline at end of file |