V1
Bots
API reference for bot-related endpoints
Bot Information
Gather information about a specific bot.
GEThttps://api.disq.ink/v1/bots/:id
Path parameters
1| Name | Type | Required | Description |
|---|---|---|---|
| ID | string | true | ID of the bot you are looking for. |
Bot Votes
Retrieve the people who voted for the bot during the current month.
GEThttps://api.disq.ink/v1/bots/:id/votes
Path parameters
1| Name | Type | Required | Description |
|---|---|---|---|
| ID | string | true | ID of the bot you are looking for. |
Headers
1| Name | Type | Required | Description |
|---|---|---|---|
| Authorization | string | true | The bot's API token. |
Bot Stats
Update your bot's statistics on our website.
POSThttps://api.disq.ink/v1/bots/:id
Path parameters
1| Name | Type | Required | Description |
|---|---|---|---|
| ID | string | true | ID of the bot you are looking for. |
Headers
2| Name | Type | Required | Description |
|---|---|---|---|
| Authorization | string | true | The bot's API token. |
| Content-Type | string | true | application/json |
Body payload
2| Name | Type | Required | Description |
|---|---|---|---|
| serverCount | string | false | The amount of servers the bot is in. |
| shards | string | false | An array of numbers containing the amount of servers the bot is in per shard. |