Class TopGgVoteCheck
java.lang.Object
de.chojo.jdautil.botlist.modules.voting.poll.TopGgVoteCheck
- All Implemented Interfaces:
VotePayload
Response of top.gg's vote check. The vote is active until
expires_at.-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
TopGgVoteCheck
public TopGgVoteCheck()
-
-
Method Details
-
hasVoted
Description copied from interface:VotePayloadWhether the response shows an active vote of the user.- Specified by:
hasVotedin interfaceVotePayload- Parameters:
user- user that was checked- Returns:
- true when the user has an active vote
-