Class TopGgVoteCheck

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

public class TopGgVoteCheck extends Object implements VotePayload
Response of top.gg's vote check. The vote is active until expires_at.
  • Constructor Details

    • TopGgVoteCheck

      public TopGgVoteCheck()
  • 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