description |
---|
Documentation in case you don't like the listed examples |
{% hint style="info" %} For responses, please check the API documentation here, the responses are the same, except it adds the "time_taken" key {% endhint %}
Client class for the wrapper
Args | Type | Required |
---|---|---|
bot | discord.Client | Only when posting |
token | str | Only when posting |
loop | AbstractEventLoop | No |
Function to start the automatic loop
Args | Type | Default Value | Minimum Value | Required |
---|---|---|---|---|
wait_for | int | 1800 | 30 | No |
Function to close the running loop
Function to post the statistics to the API
Args | Type | Required |
---|---|---|
guildCount | int | Yes |
shardCount | int | No |
Function to get website's statistics
Function to get website's health
Function to get information about the bot
Args | Type | Required |
---|---|---|
botid | int | Yes |
Function to get information about the bot
Args | Type | Required |
---|---|---|
serverid | int | Yes |
Function to get information about the bot
Args | Type | Required |
---|---|---|
templateid | str | Yes |
Base exception class for the wrapper
Raised whenever the API returns status that isn't 200 OK
Raised when you do not provide the token while trying to update the statistics
Raised when the specified time for automatic loop is too short