mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-13 01:53:30 +01:00
Minor refactor of Actions
This commit is contained in:
@@ -3,9 +3,7 @@ const Action = require('./Action');
|
||||
class GuildEmojiUpdateAction extends Action {
|
||||
handle(oldEmoji, newEmoji) {
|
||||
const emoji = this.client.dataManager.updateEmoji(oldEmoji, newEmoji);
|
||||
return {
|
||||
emoji,
|
||||
};
|
||||
return { emoji };
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user