Files
xiao/commands/games/fishy.js
T
Daniel Odendahl Jr c12b736590 Use direct unicode
2017-09-08 01:28:33 +00:00

20 lines
452 B
JavaScript

const Command = require('../../structures/Command');
const fishes = ['🐟', '🐠', '🐡', '🔧'];
module.exports = class FishyCommand extends Command {
constructor(client) {
super(client, {
name: 'fishy',
aliases: ['fish'],
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}`);
}
};