NPM Package
Installation.
npm i botsshelterInitialize Client
const Client = require('botsshelter').default;
const client = new Client('YOUR BOTSSHELTER TOKEN');Get function.
client.get('SOME DISCORD BOT ID')
.then((data) => console.log(data))
.catch((error) => console.error(error));Returned data.
// If there is a result:
{
id: 'Discord ID',
owner: 'Discord ID',
collaborators: ['ID 1', 'ID 2', 'etc'],
description: 'A description',
invitelink: 'A link',
supportserver: 'A Discord invite',
website: 'A link',
library: 'The Discord library',
votes: 2, // or other number,
addedat: 1234 // date in ms
}
// If no bot was found:
undefinedVote function
Returned data.
Last updated