Interface SingleReactionEvent

    • Method Detail

      • getEmoji

        Emoji getEmoji​()
        Gets the emoji of the event.
        Returns:
        The emoji.
      • getReaction

        Optional<Reaction> getReaction​()
        Gets the reaction if the message is cached and the reaction exists.
        Returns:
        The reaction.
      • getCount

        Optional<Integer> getCount​()
        Gets the amount of users who used the reaction if the message is cached.
        Returns:
        The amount of users who used the reaction.
      • getUsers

        CompletableFuture<List<User>> getUsers​()
        Gets a list with all users who used the reaction.
        Returns:
        A list with all users who used the reaction.