Search people for filters
/api/discord/routes/peoplePeople to pick for a channel's filters, by name or id. Searches the VRChat profiles Modbot has stored, the same way the member list searches: case-insensitively on the display name and the id. Also searches the Discord server's members and the Discord accounts members linked, by name and id. platform says which list an id goes in.
Needs the ManageSettings permission.
An API key, made on Settings, API keys. Every key starts with mbk_.
In: header
Query Parameters
Response Body
application/json
application/problem+json
application/problem+json
curl -X GET "https://example.com/api/discord/routes/people"{ "people": [ { "id": "string", "name": null, "pictureUrl": null, "platform": "vrchat" } ]}Update Discord route PUT
Change a channel's events or filters, or turn it on or off. Fields left out are left as they are. A list sent empty clears that filter. Needs the `ManageSettings` permission.
List Discord members GET
Members in the server by default; `state=left` shows people who left, `state=all` both. `search` matches the display name, username, global name, nickname and the id, case-insensitively. `role` is a Discord role id and may be repeated: people holding any of them. `notRole`, also repeatable, leaves out people holding any of those; `noRole=true` keeps only people with no role. `bot`, `pending`, `timedOut` and `boosting` are true or false. `joinedFrom` and `joinedTo` narrow to people who joined inside that stretch. `linked=linked` shows only people with a linked VRChat account and `linked=not-linked` only people without; both need See profiles, as does `linkedVRChat` on each member. Newest joiners first unless `sort=oldest` or `sort=name`. `roles` lists the server's roles with how many current members hold each. `coverage.listedAt` is null until the bot has read the whole member list once; the list is partial until then. Needs the `ViewMembers` permission.