Files
xiao/commands/response/fishy.js
T
Daniel Odendahl Jr 212ed27e3b Fix Stuff
2017-06-09 00:32:03 +00:00

19 lines
528 B
JavaScript

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: 'response',
memberName: 'fishy',
description: 'Catches a fish.'
});
}
run(msg) {
const fish = fishes[Math.floor(Math.random() * fishes.length)];
return msg.say(`You caught a: ${fish}`);
}
};