Uses of Interface
org.javacord.api.entity.emoji.Emoji
-
-
Uses of Emoji in org.javacord.api.entity.activity
Methods in org.javacord.api.entity.activity that return types with arguments of type Emoji Modifier and Type Method Description java.util.Optional<Emoji>Activity. getEmoji()Gets the emoji of the custom status. -
Uses of Emoji in org.javacord.api.entity.emoji
Subinterfaces of Emoji in org.javacord.api.entity.emoji Modifier and Type Interface Description interfaceCustomEmojiThis class represents a custom emoji.interfaceKnownCustomEmojiThis class represents a known custom emoji.Methods in org.javacord.api.entity.emoji with parameters of type Emoji Modifier and Type Method Description default booleanEmoji. equalsEmoji(Emoji otherEmoji)Checks if the emoji is equal to the given emoji. -
Uses of Emoji in org.javacord.api.entity.message
Methods in org.javacord.api.entity.message that return Emoji Modifier and Type Method Description EmojiReaction. getEmoji()Gets the emoji of the reaction.Methods in org.javacord.api.entity.message with parameters of type Emoji Modifier and Type Method Description static java.util.concurrent.CompletableFuture<java.lang.Void>Message. addReaction(DiscordApi api, long channelId, long messageId, Emoji emoji)Adds a reaction to the message.static java.util.concurrent.CompletableFuture<java.lang.Void>Message. addReaction(DiscordApi api, java.lang.String channelId, java.lang.String messageId, Emoji emoji)Adds a reaction to the message.default java.util.concurrent.CompletableFuture<java.lang.Void>Message. addReaction(Emoji emoji)Adds a reaction to the message.java.util.concurrent.CompletableFuture<java.lang.Void>UncachedMessageUtil. addReaction(long channelId, long messageId, Emoji emoji)Adds a reaction to the message.java.util.concurrent.CompletableFuture<java.lang.Void>UncachedMessageUtil. addReaction(java.lang.String channelId, java.lang.String messageId, Emoji emoji)Adds a reaction to the message.default java.util.concurrent.CompletableFuture<java.lang.Void>Message. addReactions(Emoji... emojis)Adds reactions to the message.default java.util.Optional<Reaction>Message. getReactionByEmoji(Emoji emoji)Gets a reaction by its emoji.static java.util.concurrent.CompletableFuture<java.util.Set<User>>Reaction. getUsers(DiscordApi api, long channelId, long messageId, Emoji emoji)Gets all users who used this reaction.static java.util.concurrent.CompletableFuture<java.util.Set<User>>Reaction. getUsers(DiscordApi api, java.lang.String channelId, java.lang.String messageId, Emoji emoji)Gets all users who used this reaction.java.util.concurrent.CompletableFuture<java.util.Set<User>>UncachedMessageUtil. getUsersWhoReactedWithEmoji(long channelId, long messageId, Emoji emoji)Gets all users who reacted with the given emoji.java.util.concurrent.CompletableFuture<java.util.Set<User>>UncachedMessageUtil. getUsersWhoReactedWithEmoji(java.lang.String channelId, java.lang.String messageId, Emoji emoji)Gets all users who reacted with the given emoji.default java.util.concurrent.CompletableFuture<java.lang.Void>Message. removeOwnReactionByEmoji(Emoji emoji)Removes you from the list of reactors of a given emoji reaction.default java.util.concurrent.CompletableFuture<java.lang.Void>Message. removeOwnReactionsByEmoji(Emoji... emojis)Removes you from the list of reactors of the given emoji reactions.default java.util.concurrent.CompletableFuture<java.lang.Void>Message. removeReactionByEmoji(Emoji emoji)Removes all reactors of a given emoji reaction.default java.util.concurrent.CompletableFuture<java.lang.Void>Message. removeReactionByEmoji(User user, Emoji emoji)Removes a user from the list of reactors of a given emoji reaction.default java.util.concurrent.CompletableFuture<java.lang.Void>Message. removeReactionsByEmoji(Emoji... emojis)Removes all reactors of the given emoji reactions.default java.util.concurrent.CompletableFuture<java.lang.Void>Message. removeReactionsByEmoji(User user, Emoji... emojis)Removes a user from the list of reactors of the given emoji reactions.static java.util.concurrent.CompletableFuture<java.lang.Void>Reaction. removeUser(DiscordApi api, long channelId, long messageId, Emoji emoji, long userId)Removes a user from the list of reactors.static java.util.concurrent.CompletableFuture<java.lang.Void>Reaction. removeUser(DiscordApi api, java.lang.String channelId, java.lang.String messageId, Emoji emoji, java.lang.String userId)Removes a user from the list of reactors.java.util.concurrent.CompletableFuture<java.lang.Void>UncachedMessageUtil. removeUserReactionByEmoji(long channelId, long messageId, Emoji emoji, long userId)Removes the reaction of the given user.java.util.concurrent.CompletableFuture<java.lang.Void>UncachedMessageUtil. removeUserReactionByEmoji(java.lang.String channelId, java.lang.String messageId, Emoji emoji, java.lang.String userId)Removes the reaction of the given user. -
Uses of Emoji in org.javacord.api.entity.message.component
Methods in org.javacord.api.entity.message.component that return types with arguments of type Emoji Modifier and Type Method Description java.util.Optional<Emoji>Button. getEmoji()Get the emoji button's emoji.java.util.Optional<Emoji>SelectMenuOption. getEmoji()Get the emoji of the select menu option.Methods in org.javacord.api.entity.message.component with parameters of type Emoji Modifier and Type Method Description static ButtonButton. create(java.lang.String customId, ButtonStyle style, java.lang.String label, Emoji emoji)Create a new button with the given properties.static ButtonButton. create(java.lang.String customId, ButtonStyle style, java.lang.String label, Emoji emoji, boolean disabled)Create a new button with the given properties.static ButtonButton. create(java.lang.String customId, ButtonStyle style, Emoji emoji)Create a new button with the given properties.static SelectMenuOptionSelectMenuOption. create(java.lang.String label, java.lang.String value, java.lang.String description, Emoji emoji)Creates a new select menu option with the given values.static SelectMenuOptionSelectMenuOption. create(java.lang.String label, java.lang.String value, java.lang.String description, Emoji emoji, boolean isDefault)Creates a new select menu option with the given values.static ButtonButton. danger(java.lang.String customId, java.lang.String label, Emoji emoji)Create a new button with the red danger style and the given properties.static ButtonButton. danger(java.lang.String customId, java.lang.String label, Emoji emoji, boolean disabled)Create a new button with the red danger style and the given properties.static ButtonButton. danger(java.lang.String customId, Emoji emoji)Create a new button with the red danger style and the given emoji.static ButtonButton. danger(java.lang.String customId, Emoji emoji, boolean disabled)Create a new button with the red danger style and the given emoji.static ButtonButton. link(java.lang.String url, java.lang.String label, Emoji emoji)Create a new button for a link button.static ButtonButton. link(java.lang.String url, java.lang.String label, Emoji emoji, boolean disabled)Create a new button for a link button.static ButtonButton. link(java.lang.String url, Emoji emoji)Create a new button for a link button.static ButtonButton. link(java.lang.String url, Emoji emoji, boolean disabled)Create a new button for a link button.static ButtonButton. primary(java.lang.String customId, java.lang.String label, Emoji emoji)Create a new button with the blurple primary style and the given properties.static ButtonButton. primary(java.lang.String customId, java.lang.String label, Emoji emoji, boolean disabled)Create a new button with the blurple primary style and the given properties.static ButtonButton. primary(java.lang.String customId, Emoji emoji)Create a new button with the blurple primary style and the given emoji.static ButtonButton. primary(java.lang.String customId, Emoji emoji, boolean disabled)Create a new button with the blurple primary style and the given emoji.static ButtonButton. secondary(java.lang.String customId, java.lang.String label, Emoji emoji)Create a new button with the grey secondary style and the given properties.static ButtonButton. secondary(java.lang.String customId, java.lang.String label, Emoji emoji, boolean disabled)Create a new button with the grey secondary style and the given properties.static ButtonButton. secondary(java.lang.String customId, Emoji emoji)Create a new button with the grey secondary style and the given emoji.static ButtonButton. secondary(java.lang.String customId, Emoji emoji, boolean disabled)Create a new button with the grey secondary style and the given emoji.ButtonBuilderButtonBuilder. setEmoji(Emoji emoji)Set the button's emoji.SelectMenuOptionBuilderSelectMenuOptionBuilder. setEmoji(Emoji emoji)Set the emoji for the select menu option.static ButtonButton. success(java.lang.String customId, java.lang.String label, Emoji emoji)Create a new button with the green success style and the given properties.static ButtonButton. success(java.lang.String customId, java.lang.String label, Emoji emoji, boolean disabled)Create a new button with the green success style and the given properties.static ButtonButton. success(java.lang.String customId, Emoji emoji)Create a new button with the green success style and the given emoji.static ButtonButton. success(java.lang.String customId, Emoji emoji, boolean disabled)Create a new button with the green success style and the given emoji. -
Uses of Emoji in org.javacord.api.entity.message.component.internal
Methods in org.javacord.api.entity.message.component.internal that return Emoji Modifier and Type Method Description EmojiButtonBuilderDelegate. getEmoji()Get the button's emoji.Methods in org.javacord.api.entity.message.component.internal with parameters of type Emoji Modifier and Type Method Description voidButtonBuilderDelegate. setEmoji(Emoji emoji)Set the button's emoji.voidSelectMenuOptionBuilderDelegate. setEmoji(Emoji emoji)Set the emoji for the option. -
Uses of Emoji in org.javacord.api.event.message
Methods in org.javacord.api.event.message with parameters of type Emoji Modifier and Type Method Description java.util.concurrent.CompletableFuture<java.lang.Void>MessageEvent. addReactionsToMessage(Emoji... emojis)Adds reactions to the message involved in the event.java.util.concurrent.CompletableFuture<java.lang.Void>MessageEvent. addReactionToMessage(Emoji emoji)Adds a reaction to the message involved in the event.java.util.concurrent.CompletableFuture<java.lang.Void>MessageEvent. removeOwnReactionByEmojiFromMessage(Emoji emoji)Removes you from the list of reactors of a given emoji reaction from the message.java.util.concurrent.CompletableFuture<java.lang.Void>MessageEvent. removeOwnReactionsByEmojiFromMessage(Emoji... emojis)Removes you from the list of reactors of the given emoji reactions from the message.java.util.concurrent.CompletableFuture<java.lang.Void>MessageEvent. removeReactionByEmojiFromMessage(Emoji emoji)Removes all reactors of a given emoji reaction from the message.java.util.concurrent.CompletableFuture<java.lang.Void>MessageEvent. removeReactionByEmojiFromMessage(User user, Emoji emoji)Removes a user from the list of reactors of a given emoji reaction from the message.java.util.concurrent.CompletableFuture<java.lang.Void>MessageEvent. removeReactionsByEmojiFromMessage(Emoji... emojis)Removes all reactors of the given emoji reactions from the message.java.util.concurrent.CompletableFuture<java.lang.Void>MessageEvent. removeReactionsByEmojiFromMessage(User user, Emoji... emojis)Removes a user from the list of reactors of the given emoji reactions from the message. -
Uses of Emoji in org.javacord.api.event.message.reaction
Methods in org.javacord.api.event.message.reaction that return Emoji Modifier and Type Method Description EmojiSingleReactionEvent. getEmoji()Gets the emoji of the event.
-