Class EmojiUpdateRolesEvent

All Implemented Interfaces:
GenericEvent, UpdateEvent<RichCustomEmoji,List<Role>>

public class EmojiUpdateRolesEvent extends GenericEmojiUpdateEvent<List<Role>>
Indicates that the role whitelist for a Custom Emoji changed.

Can be used to retrieve the old role whitelist

Requirements

This event requires the EMOJI CacheFlag to be enabled, which requires the GUILD_EMOJIS_AND_STICKERS intent.
createLight(String) disables that CacheFlag by default!

Identifier: roles