Revert "Default functions"

This reverts commit 513a5fcf55a7d5e0b98dd9d52fc92b659e767e7b.
This commit is contained in:
Daniel Odendahl Jr
2017-11-28 17:18:35 +00:00
parent bb4c323bb7
commit 1bc579cbb4
4 changed files with 3 additions and 122 deletions
-18
View File
@@ -1,18 +0,0 @@
const { Command } = require('discord.js-commando');
const facts = require('../../assets/json/fun-fact');
module.exports = class FunFactCommand extends Command {
constructor(client) {
super(client, {
name: 'fun-fact',
aliases: ['fact'],
group: 'random',
memberName: 'fun-fact',
description: 'Responds with a random fun fact.'
});
}
run(msg) {
return msg.say(facts[Math.floor(Math.random() * facts.length)]);
}
};