Find events like one about to be saved
/api/calendar/same-eventsEvents in Modbot's calendar, including the ones kept from VRChat's group calendar the last time it was read, with the same title (as the Discord duplicate finder compares titles) starting at most 15 minutes apart. Reads only what Modbot has stored: VRChat is not asked, so a save never waits on it. Changes nothing and never refuses a save.
Needs the ManageCalendar permission.
An API key, made on Settings, API keys. Every key starts with mbk_.
In: header
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
curl -X POST "https://example.com/api/calendar/same-events"{ "matches": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "title": "string", "startsAt": "2019-08-24T14:15:22Z", "onVRChat": true } ]}List possible duplicate Discord events GET
Events in the Discord server, made by anyone, that look like copies of each other: the same title once case, spaces, punctuation, emoji and anything in brackets are left out, starting at most 15 minutes apart. Says which bot made each copy and which is Modbot's own; a person is never named. Discord is asked at most once every five minutes. Changes nothing. Needs the `ViewCalendar` permission.
List who an event can invite GET
The staff accounts an event can invite as its host and staff, and the saved lists it can invite (each list's id and name only). Lists are null without See members and See profiles; with template=true, Manage templates is enough too. Needs Manage calendar or Manage templates, because the template editor picks them too. Needs the `ViewCalendar` permission.