Update member milestone settings
/api/settings/discord-milestonesChange the event numbers for the first moment (firstAt) and for a Regular (regularAt), the days away for a welcome back (backDays), the channel (empty for none), which moments get a post, and the Regular role (empty for none). A role that holds a dangerous permission is refused. Turning a post or the role on never acts for a moment reached before. A refusal (400) lists everything wrong at once, in problems.
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
curl -X PUT "https://example.com/api/settings/discord-milestones" \ -H "Content-Type: application/json" \ -d '{}'{ "firstAt": 0, "regularAt": 0, "backDays": 0, "channelId": null, "postFirst": true, "postRegular": true, "postBack": true, "regularRoleId": null, "problem": null}Get member milestone settings GET
The numbers behind the first-event, Regular and welcome-back moments, which of them get a post in the channel, and the role given to a Regular who has a linked account. `problem` says what stopped the last post or role, or that Modbot cannot give the role. Needs the `ManageSettings` permission.
Get the command switches GET
Every Discord command with whether it is on, and what it does until chosen. Needs the `ManageSettings` permission.