Add full guild emoji functionality (#749)

* all the emoji stuff

* fix things for hydra 😘

* feck i need to stop committing on github

* update docs again

* Butts
This commit is contained in:
Gus Caplan
2016-09-27 19:44:09 -05:00
committed by Schuyler Cebulskie
parent 682e33cad9
commit aed75e1f9a
10 changed files with 112 additions and 8 deletions

View File

@@ -0,0 +1,18 @@
const Action = require('./Action');
class EmojiDeleteAction extends Action {
handle(data) {
const client = this.client;
client.dataManager.killEmoji(data);
return {
data,
};
}
}
/**
* Emitted whenever an emoji is deleted
* @event Client#guildEmojiDelete
* @param {Emoji} emoji The emoji that was deleted.
*/
module.exports = EmojiDeleteAction;