DanBotHosting API Wrapper
- Discord: https://discord.gg/rYzHH5N
- Site: https://stats.danbot.xyz
How to get API Key
- join our Discord (link above)
- go into our #bot-commands channel
- type
DBH!ApiKey
and you'll get an API Key!
Examples
Most Needs async:
Creating Client: no-sharding
const Discord = ;let client = ; var DanBotHosting = ; client;
sharding
const Discord = ;let client = ; var DanBotHosting = ;const manager = "./bot.js" token: "TOKEN" ;const API = "danbot-KEY" manager;
get bot info
- only for the client you are logged in as
let res = await API console