Update bot statistics
Changed onUpdate a bot's command count and/or server count.
patch/bots/{id}/stats
Request
- Base URLhttps://api.discord.place
- URLhttps://api.discord.place/bots/{id}/stats
- AuthAPI key in header Authorization
Path parameters
idstring required
A valid Discord Snowflake ID (17–20 digit numeric string).
Example:123456789012345678
Snowflake ID of the Discord entity. (e.g., bot ID, user ID, guild ID)
Request body
Example request
{
"command_count": 100,
"server_count": 1500
}Response
Successful operation.
Example response
{
"success": true
}Changes
- info
added the non-success response with the status
- info
the response property
became required for the status
- info
- breaking
the mandatory response header
ratelimit-limitremoved for the status429 - breaking
the mandatory response header
ratelimit-remainingremoved for the status429 - breaking
the mandatory response header
ratelimit-resetremoved for the status429
- breaking