Class EmojisUpdateEvent


  • public class EmojisUpdateEvent
    extends GuildEvent
    Dispatched when an emoji is added/deleted/or edited in a guild. The emojis set includes ALL emojis of the guild.

    This event is dispatched by Discord.

    See Also:
    Guild Emojis Update
    • Method Detail

      • getGuild

        public Mono<Guild> getGuild()
        Requests to retrieve the Guild whose emojis have been updated.
        Returns:
        A Mono where, upon successful completion, emits the Guild involved. If an error is received, it is emitted through the Mono.
      • getEmojis

        public Set<GuildEmoji> getEmojis()
        Gets a list of ALL emojis of the Guild.
        Returns:
        A list of ALL emojis of the Guild.
      • getOld

        public Optional<Set<GuildEmoji>> getOld()
        Gets a list of ALL old emojis of the Guild, if present. This may not be available if GuildEmojis are not stored.
        Returns:
        A list of ALL old emojis of the Guild.