Post the ticket panel
/api/settings/discord-tickets/panelPost a message in a channel with one button for each ticket type, in order. Members press a button to open a private thread with staff. Needs the bot to be connected and to write in that channel.
Needs the ManageSettings permission.
An API key, made on Settings, API keys. Every key starts with mbk_.
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
curl -X POST "https://example.com/api/settings/discord-tickets/panel" \ -H "Content-Type: application/json" \ -d '{ "channelId": null, "text": null }'{ "done": true}Reorder the ticket types PUT
Set the order of the panel's buttons. Send every type's id once. Needs the `ManageSettings` permission.
Get birthday settings GET
Whether Modbot posts the day's birthdays in Discord, the channel, the hour and time zone, the text, and the role members hold for the day. `problem` says what stopped the last post or role change, or why the role cannot be given now. Needs the `ManageSettings` permission.