Class BotlistMeVoteCheck

java.lang.Object
de.chojo.jdautil.botlist.modules.voting.poll.BotlistMeVoteCheck
All Implemented Interfaces:
VotePayload

public class BotlistMeVoteCheck extends Object implements VotePayload
Response of botlist.me's vote check.
  • Constructor Details

    • BotlistMeVoteCheck

      public BotlistMeVoteCheck()
  • Method Details

    • hasVoted

      public boolean hasVoted(User user)
      Description copied from interface: VotePayload
      Whether the response shows an active vote of the user.
      Specified by:
      hasVoted in interface VotePayload
      Parameters:
      user - user that was checked
      Returns:
      true when the user has an active vote