Quote, Random in Gelbooru and Rule34, Reorder Groups

This commit is contained in:
Daniel Odendahl Jr
2017-07-25 21:31:14 +00:00
parent 0d51d7ca78
commit 4ee179f359
12 changed files with 54 additions and 20 deletions
+18
View File
@@ -0,0 +1,18 @@
const Command = require('../../structures/Command');
const fishes = [':fish:', ':tropical_fish:', ':blowfish:', ':wrench:'];
module.exports = class FishyCommand extends Command {
constructor(client) {
super(client, {
name: 'fishy',
group: 'games',
memberName: 'fishy',
description: 'Catches a fish.'
});
}
run(msg) {
const fish = fishes[Math.floor(Math.random() * fishes.length)];
return msg.say(`You caught a: ${fish}`);
}
};