1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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);
}
};
|