Interface ApplicationEmoji
- All Superinterfaces:
CustomEmoji
,Emoji
,Formattable
,IMentionable
,ISnowflake
,SerializableData
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:
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.dv8tion.jda.api.entities.emoji.Emoji
Emoji.Type
-
Field Summary
Fields inherited from interface net.dv8tion.jda.api.entities.emoji.CustomEmoji
EMOJI_NAME_MAX_LENGTH, ICON_URL
-
Method Summary
Methods inherited from interface net.dv8tion.jda.api.entities.emoji.CustomEmoji
formatTo, getAsMention, getFormatted, getImage, getImageUrl, getType, isAnimated
Methods inherited from interface net.dv8tion.jda.api.entities.emoji.Emoji
getAsReactionCode, getName
Methods inherited from interface net.dv8tion.jda.api.entities.ISnowflake
getId, getIdLong, getTimeCreated
Methods inherited from interface net.dv8tion.jda.api.utils.data.SerializableData
toData
-
Field Details
-
APPLICATION_EMOJI_CAP
static final int APPLICATION_EMOJI_CAP- See Also:
-
-
Method Details
-
getJDA
TheJDA
instance of this emoji- Returns:
- The JDA instance of this emoji
-
getOwner
The user who created this emoji- Returns:
- The user who created this emoji
-
delete
Deletes this emoji.Possible ErrorResponses include:
UNKNOWN_EMOJI
If this emoji was already removed
- Returns:
RestAction
The RestAction to delete this emoji.
-
getManager
TheManager
for this emoji, used to modify properties of the emoji like name.- Returns:
- The ApplicationEmojiManager for this emoji
-