2019-09-13 20:02:41 +00:00
|
|
|
const cowsay = require("cowsay");
|
2019-12-02 20:47:22 +00:00
|
|
|
const cowList = ["beavis.zen",
|
|
|
|
"bong",
|
|
|
|
"bud-frogs",
|
|
|
|
"bunny",
|
|
|
|
"cheese",
|
|
|
|
"cower",
|
|
|
|
"daemon",
|
|
|
|
"default",
|
|
|
|
"doge",
|
|
|
|
"dragon-and-cow",
|
|
|
|
"dragon",
|
|
|
|
"elephant-in-snake",
|
|
|
|
"elephant",
|
|
|
|
"eyes",
|
|
|
|
"flaming-sheep",
|
|
|
|
"ghostbusters",
|
|
|
|
"goat",
|
|
|
|
"hedgehog",
|
|
|
|
"hellokitty",
|
|
|
|
"kiss",
|
|
|
|
"kitty",
|
|
|
|
"koala",
|
|
|
|
"kosh",
|
|
|
|
"luke-koala",
|
|
|
|
"mech-and-cow",
|
|
|
|
"meow",
|
|
|
|
"milk",
|
|
|
|
"moofasa",
|
|
|
|
"moose",
|
|
|
|
"mutilated",
|
|
|
|
"ren",
|
|
|
|
"satanic",
|
|
|
|
"sheep",
|
|
|
|
"skeleton",
|
|
|
|
"small",
|
|
|
|
"squirrel",
|
|
|
|
"stegosaurus",
|
|
|
|
"stimpy",
|
|
|
|
"supermilker",
|
|
|
|
"surgery",
|
|
|
|
"telebears",
|
|
|
|
"turkey",
|
|
|
|
"turtle",
|
|
|
|
"tux",
|
|
|
|
"vader-koala",
|
|
|
|
"vader",
|
|
|
|
"whale",
|
|
|
|
"www"
|
|
|
|
];
|
2019-09-13 20:02:41 +00:00
|
|
|
|
|
|
|
exports.run = async (message, args) => {
|
|
|
|
if (args.length === 0) {
|
|
|
|
return `${message.author.mention}, you need to provide some text for the cow to say!`;
|
2019-11-23 23:23:28 +00:00
|
|
|
} else if (cowList.includes(args[0].toLowerCase())) {
|
2019-09-13 20:02:41 +00:00
|
|
|
const cow = args.shift().toLowerCase();
|
|
|
|
return `\`\`\`\n${cowsay.say({
|
|
|
|
text: args.join(" "),
|
|
|
|
f: cow
|
|
|
|
})}\n\`\`\``;
|
|
|
|
} else {
|
|
|
|
return `\`\`\`\n${cowsay.say({ text: args.join(" ") })}\n\`\`\``;
|
|
|
|
}
|
|
|
|
};
|
|
|
|
|
|
|
|
exports.aliases = ["cow"];
|
2019-12-02 20:47:22 +00:00
|
|
|
exports.category = 4;
|
|
|
|
exports.help = "Makes an ASCII cow say a message";
|
2019-12-05 16:58:46 +00:00
|
|
|
exports.params = "[text]";
|