Lots of changes

This commit is contained in:
dragonfire535
2017-10-07 11:18:08 -04:00
parent e81226dbd6
commit a006a8a8de
32 changed files with 68 additions and 53 deletions
+19
View File
@@ -0,0 +1,19 @@
const { Command } = require('discord.js-commando');
const nimbats = require('../../assets/json/fidget');
module.exports = class FidgetCommand extends Command {
constructor(client) {
super(client, {
name: 'fidget',
aliases: ['nimbat'],
group: 'random-res',
memberName: 'fidget',
description: 'Responds with a random image of Fidget.',
clientPermissions: ['ATTACH_FILES']
});
}
run(msg) {
return msg.say({ files: [nimbats[Math.floor(Math.random() * nimbats.length)]] });
}
};