bottum.tk
v1.2.1
Published
The SDK for bottum.tk
Downloads
1
Readme
bottum.tk
The SDK for bottum.tk
Usage
const Bottum = require('bottum.tk')
const Client = new Bottum.Client('insert token here', client) // 'client' in this case would be a Discord.JS client instance
Client.post(100) // The post method lets you post your server count (it doesn't post your server count automatically)
Client.hasVoted('discord user id').then(voted => {
if (voted) console.log('This user has voted!')
else console.log('This user didnt vote...')
})