Discord Land | NPM Package

Hi developers! We are so excited to introduce our new NPM Package.

Our NPM Package only has 1 function currently and that is to check if a user has voted.

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!
}

This is essentially for bot developers to offer perks and such for users who have voted for them on Bots Land.

Why is the NPM Package called Bots Land and not Discord Land?

Bots Land refers to our Bot list specifically.