v1

latestOpenAPI 3.1.02026-07-172217.9 KB

Update bot statistics

Update a bot's command count and/or server count.

patch/bots/{id}/stats

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

command_countinteger

Number of commands the bot has.

server_countinteger

Number of servers the bot is in. Note: If the provided server count is significantly different from the actual server count, it may be rejected.

Example request

{
  "command_count": 100,
  "server_count": 1500
}

Response

Successful operation.

successboolean required

Example response

{
  "success": true
}
All 3 operations