Skip to navigation

Update a bot's server count

View as Markdown

Sets the server count shown on a bot’s listing. The API key must belong to the bot’s owner or to a developer listed on the bot.

Call this on a schedule from your bot, for example every 30 minutes, rather than on every guild join or leave. Limited to 12 requests/hour per key.

Authentication

AuthorizationBearer

A FluxerList API key. Keys start with fl_.

Path parameters

idstringRequired
The bot's Fluxer bot ID, FluxerList UUID, or listing slug.

Request

This endpoint expects an object.
serverCountintegerRequired>=0
The number of servers the bot is currently in.

Response

The server count was updated.
serverCountintegerOptional
The server count now shown on the listing.

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
429
Too Many Requests Error