woomy/src/commands/coinflip.js

25 lines
384 B
JavaScript
Raw Normal View History

2020-01-25 10:02:43 +00:00
exports.run = (client, message, args) => {
var coin = [
"Heads!",
"Tails!"
];
let mess = coin.random();
message.channel.send(mess);
};
exports.conf = {
enabled: true,
guildOnly: false,
2020-03-26 04:31:32 +00:00
aliases: ["flip"],
2020-01-25 10:02:43 +00:00
permLevel: "User",
requiredPerms: []
};
exports.help = {
2020-03-26 04:31:32 +00:00
name: "coinflip",
2020-01-25 10:02:43 +00:00
category: "Fun",
description: "Flips a coin!",
2020-10-05 07:42:06 +00:00
usage: "coinflip"
2020-01-25 10:02:43 +00:00
};