Why did I remove this

This commit is contained in:
Daniel Odendahl Jr
2017-09-05 12:32:52 +00:00
parent b0c615d48a
commit e043651d2b
2 changed files with 19 additions and 1 deletions
+18
View File
@@ -0,0 +1,18 @@
const Command = require('../../structures/Command');
module.exports = class EmojiCommand extends Command {
constructor(client) {
super(client, {
name: 'emoji',
group: 'guild-info',
memberName: 'emoji',
description: 'Responds with a list of the server\'s custom emoji.',
guildOnly: true
});
}
run(msg) {
if (!msg.guild.emojis.size) return msg.say('This server has no custom emoji.');
return msg.say(msg.guild.emojis.map(e => e).join(''));
}
};
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "xiaobot",
"version": "36.0.1",
"version": "36.1.0",
"description": "Your personal server companion.",
"main": "Shard.js",
"scripts": {