Get join gate settings
/api/settings/discord-gateThe Discord join gate's settings: its mode, the member role, the gate channel and message, the steps, the removal time and join spike protection.
Needs the ManageSettings permission.
An API key, made on Settings, API keys. Every key starts with mbk_.
In: header
Response Body
application/json
application/problem+json
application/problem+json
curl -X GET "https://example.com/api/settings/discord-gate"{ "mode": "string", "memberRoleId": null, "channelId": null, "message": null, "needsLink": true, "needsEighteenPlus": true, "removeAfterMinutes": null, "removeChoices": [ 0 ], "holdOnSpike": true, "pauseInvites": true, "heldSince": null, "linkingReady": true, "inviteUrl": null}Update the command switches PUT
Switch Discord commands on or off. A command that is off is not registered on the server. Refused in the demo. Needs the `ManageSettings` permission.
Update join gate settings PUT
Save the join gate's settings. `mode` is off, watch (record what would happen, do nothing in Discord) or on. Changing the mode ends everybody's current time at the gate and gates only people who join from then on. `removeAfterMinutes` is one of `removeChoices`, or null for never; changing it, or the steps, starts everybody waiting no later than halfway again, with a new warning. `needsEighteenPlus` needs `needsLink`, and `needsLink` needs account linking to be set up. Needs the `ManageSettings` permission.