1.0.2 • Published 3 years ago
botsland v1.0.2
Bots Land NPM Package
There is only one function which is:
checkVoted(token, discordid)
Token: Bot's Token (NOT DISCORD TOKEN, YOUR BOTS LAND TOKEN) DiscordId: User to check if they voted
Returns true or false
Example
const botsland = require("botsland");
let voted = botsland.checkVoted(config.botslandToken,discordid)
if (voted == false) {
// Either the user did not vote, or the Bots Land token is invalid
} else {
// User Voted!
}
Need help? Join Bots Land: https://botsland.us