v2

latestOpenAPI 3.0.0AGPLv32026-07-26125148364.7 KB
Bots

Edit Bot

Edit bot details by its id.

patch/bots/{bot_id}

Path parameters

bot_idstring required

Request body

namestring nullable

Bot username

publicboolean nullable

Whether the bot can be added by anyone

analyticsboolean nullable

Whether analytics should be gathered for this bot

Must be enabled in order to show up on Revolt Discover.

interactions_urlstring nullable

Interactions URL

removeFieldsBot[]

Fields to remove from bot object

Response

_idstring required

Bot Id

ownerstring required

User Id of the bot owner

tokenstring required

Token used to authenticate requests for this bot

publicboolean required

Whether the bot is public (may be invited by anyone)

analyticsboolean

Whether to enable analytics

discoverableboolean

Whether this bot should be publicly discoverable

interactions_urlstring

Reserved; URL for handling interactions

terms_of_service_urlstring

URL for terms of service

privacy_policy_urlstring

URL for privacy policy

flagsinteger

Enum of bot flags