Emote, java.util.Formattable, IFakeable, IMentionable, ISnowflakepublic interface ListedEmote extends Emote
Guild.retrieveEmotes() or Guild.retrieveEmoteById(long)Emote| Modifier and Type | Method | Description |
|---|---|---|
User |
getUser() |
The user who created this Emote
|
boolean |
hasUser() |
Whether this Emote has information about the creator.
|
canInteract, canInteract, canInteract, canProvideRoles, delete, getAsMention, getGuild, getImageUrl, getJDA, getManager, getName, getRoles, hasRoles, isAnimated, isManagedformatTogetCreationTime, getId, getIdLongUser getUser()
This is only available for manually retrieved emotes from Guild.retrieveEmotes()
and Guild.retrieveEmoteById(long).
Requires Permission.MANAGE_EMOTES.
java.lang.IllegalStateException - If this emote does not have user informationhasUser()boolean hasUser()
getUser() throws an IllegalStateException.
This is only available for manually retrieved emotes from Guild.retrieveEmotes()
and Guild.retrieveEmoteById(long).
Requires Permission.MANAGE_EMOTES.