Interface ApplicationEmoji

All Superinterfaces:
CustomEmoji, Emoji, Formattable, IMentionable, ISnowflake, SerializableData

public interface ApplicationEmoji extends CustomEmoji
Represents a Custom Emoji hosted on the Bot Account.

This does not represent unicode emojis like they are used in the official client! The format :smiley: is a client-side alias which is replaced by the unicode emoji, not a custom emoji.

See Also:
  • Field Details

    • MAX_APPLICATION_EMOJIS

      static final int MAX_APPLICATION_EMOJIS
      Maximum number of emojis that can be registered on an application.
      See Also:
  • Method Details

    • getJDA

      @Nonnull JDA getJDA()
      The JDA instance of this emoji
      Returns:
      The JDA instance of this emoji
    • getOwner

      @Nullable User getOwner()
      The user who created this emoji
      Returns:
      The user who created this emoji
    • delete

      @Nonnull @CheckReturnValue RestAction<Void> delete()
      Deletes this emoji.

      Possible ErrorResponses include:

      Returns:
      RestAction The RestAction to delete this emoji.
    • getManager

      @Nonnull @CheckReturnValue ApplicationEmojiManager getManager()
      The Manager for this emoji, used to modify properties of the emoji like name.
      Returns:
      The ApplicationEmojiManager for this emoji