1.0.2 • Published 3 years ago

botsland v1.0.2

Weekly downloads
-
License
ISC
Repository
-
Last release
3 years ago

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

1.0.2

3 years ago

1.0.1

3 years ago