Bye to some useless stuff

This commit is contained in:
Daniel Odendahl Jr
2018-05-16 11:32:27 +00:00
parent fc3911d241
commit 97bc1feffc
8 changed files with 3 additions and 195 deletions
-17
View File
@@ -1,17 +0,0 @@
const { Command } = require('discord.js-commando');
const fruits = require('../../assets/json/fruit');
module.exports = class FruitCommand extends Command {
constructor(client) {
super(client, {
name: 'fruit',
group: 'random',
memberName: 'fruit',
description: 'Responds with a random fruit.'
});
}
run(msg) {
return msg.say(fruits[Math.floor(Math.random() * fruits.length)]);
}
};