Class StickersUpdateEvent


public class StickersUpdateEvent extends GuildEvent
Dispatched when an sticker is added/deleted/or edited in a guild. The stickers set includes ALL stickers of the guild.

This event is dispatched by Discord.

See Also:
  • Constructor Details

  • Method Details

    • getGuildId

      public Snowflake getGuildId()
      Gets the Snowflake ID of the Guild involved in the event.
      Returns:
      The ID of the Guild.
    • getGuild

      public Mono<Guild> getGuild()
      Requests to retrieve the Guild whose stickers 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.
    • getStickers

      public Set<GuildSticker> getStickers()
      Gets a list of ALL stickers of the Guild.
      Returns:
      A list of ALL stickers of the Guild.
    • getOld

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

      public String toString()
      Overrides:
      toString in class Object