Update bot statistics

Changed on

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

patch/bots/{id}/stats

Request

  • Base URL
    https://api.discord.place
  • URL
    https://api.discord.place/bots/{id}/stats
  • Auth
    API 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

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
}

Changes

    • info

      added the non-success response with the status

    • info

      the response property became required for the status

    • breaking

      the mandatory response header ratelimit-limit removed for the status 429

    • breaking

      the mandatory response header ratelimit-remaining removed for the status 429

    • breaking

      the mandatory response header ratelimit-reset removed for the status 429