List Discord roles
/api/discord/rolesThe Discord server's roles and whether the bot could hand each out. Needs Change settings, or See calendar with Manage calendar or Manage templates, because the event form picks a role to mention.
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/discord/roles"{ "guildId": null, "serverName": null, "refreshedAt": null, "updatedAt": null, "botCanManageRoles": true, "roles": [ { "id": "string", "name": "string", "color": 0, "position": 0, "managed": true, "everyone": true, "botCanAssign": true, "removed": true, "botCanMention": false, "dangerous": false } ]}List Discord channels GET
The Discord server's channels and what the bot may do in each. Needs Change settings, or See calendar with Manage calendar or Manage templates, because the event form picks a channel.
List Discord routes GET
Every route, in list order, with the event types that may be chosen (grouped, labelled), the group's VRChat roles as last read, Modbot's roles, and names for the people routes already name. Needs the `ManageSettings` permission.