Skip to main content
PUT
Publish the commands

Authorizations

Authorization
string
header
required

The bot's API token, generated on its edit page. Sent bare or as Bearer <token> -- both are accepted, because the libraries already posting to other lists send both. The token is shown once; generating a new one invalidates the old.

Path Parameters

id
string
required

The bot's Discord application id. It has to be the bot the token belongs to.

Pattern: ^\d{17,19}$

Body

application/json
commands
object[]
required
Maximum array length: 100

Response

Stored. count is what survived de-duplication.

success
boolean
count
integer