Update Discord route
/api/discord/routes/{id}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.
An API key, made on Settings, API keys. Every key starts with mbk_.
In: header
Path Parameters
uuidRequest 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
curl -X PUT "https://example.com/api/discord/routes/497f6eca-6276-4993-bfeb-53cbbbba6f08" \ -H "Content-Type: application/json" \ -d '{ "name": null, "channelId": null, "enabled": null, "eventTypes": null, "subjectIds": null, "actorIds": null, "actorAutomatic": null, "subjectVRChatRoleIds": null, "actorVRChatRoleIds": null, "actorModbotRoleIds": null }'{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": null, "channelId": "string", "enabled": true, "eventTypes": [ "string" ], "subjectIds": [ "string" ], "subjectDiscordIds": [ "string" ], "actorIds": [ "string" ], "actorDiscordIds": [ "string" ], "actorAutomatic": true, "subjectVRChatRoleIds": [ "string" ], "actorVRChatRoleIds": [ "string" ], "actorModbotRoleIds": [ "29fdf8c8-98dd-48d9-89e8-7382e935877c" ]}Delete Discord route DELETE
Stop sending events to a channel and forget the rule. Needs the `ManageSettings` permission.
Search people for filters GET
People 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.