mirror of
https://github.com/danbulant/discord.js
synced 2026-05-26 05:22:15 +00:00
* all the emoji stuff
* fix things for hydra 😘
* feck i need to stop committing on github
* update docs again
* Butts
18 lines
376 B
JavaScript
18 lines
376 B
JavaScript
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;
|