API Usage
When using the API you need to give the Server a GET Request otherwise it will return a Error 400 Bad Request Message, this will also display if there is to request provided.
If you want to make a request to the server the URI would be http://[server address]/?req=[request]
In the table below is a list of requests and the expected output.
Request | Description | Expected Output |
test | Test Response |
|
userCount | Will Respond with the latest user count from the bot |
|
channelCount | Latest channel count from the bot |
|
guildCount | Latest Guild/Server Count from the Bot |
|
botBranch | Bot branch defined in |
|
packageName | Package Name defined in |
|
botBuild | Build number defined in |
|
packageDescription | Description defined in |
|
botOwnerID | ownerID Defined in |
|
botEngines | Replies with |
|
packageScripts | Replies with |
|
botDependencies | Replies with |
|
packageRepository | Replies with |
|
author | Replies with |
|
botLicense | Replies with the Licence that the Bot/Current Branch Uses |
|
botBugReportUrl | Replies with the Issues Github Page | |
botHomepage | Replies with |
|
apiVersion | Replies with the varaible |
|
When no request is made |
|
Last updated