Time out on Discord
/api/discord/members/{id}/timeoutTime one member of the Discord server out for minutes (1 to 40320, which is 28 days); a member already timed out gets the new length. The address names their Discord id; reason goes to Discord's audit log with your account's name. One request, never retried. Once Discord accepts, the audit log records who asked. Never the bot's own account, the server's owner or a Discord account linked to a Modbot staff account: those answer 403 refused.
Needs the DiscordTimeOut permission.
An API key, made on Settings, API keys. Every key starts with mbk_.
In: header
Path Parameters
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
application/problem+json
curl -X POST "https://example.com/api/discord/members/string/timeout" \ -H "Content-Type: application/json" \ -d '{ "minutes": 0 }'{ "changed": true}Remove from Discord POST
Remove one person from the Discord server without banning them. The address names their Discord id; `reason` goes to Discord's audit log with your account's name. One request, never retried. Once Discord accepts, the audit log records who asked. `changed` is false when they were not in the server. Never the bot's own account, the server's owner or a Discord account linked to a Modbot staff account: those answer 403 `refused`. Needs the `DiscordKick` permission.
Who is at the join gate GET
The Discord join gate's mode, whether new joiners are held, and everybody waiting at it, oldest joiner first (at most 200). `linked` and `eighteenPlus` need See profiles and are null without it. `removedAt` is the earliest somebody can be removed if nothing changes, never sooner than the warning window after their warning reached them, and null in Watch only or when removal is Never; `wouldRemoveAt` is when Watch only would have removed them. Needs the `ViewMembers` permission.