Get server snapshot settings
/api/settings/discord-snapshotsHow often Modbot saves a snapshot of the Discord server, and whether restoring from one is allowed.
Needs the ManageSettings permission.
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/settings/discord-snapshots"{ "schedule": "string", "restoreOn": true}Update invite tracking settings PUT
Turn invite tracking on or off. While it is on the bot's invite link asks for Manage Server and Create Invite, so a bot added earlier has to be added again from the new link. Turning it on starts the use counts from Discord's own. Needs the `ManageSettings` permission.
Update server snapshot settings PUT
Set the schedule (`off`, `weekly`, `every-two-weeks` or `monthly`) and whether restoring is allowed. While restoring is on the bot's invite link asks for Manage Roles, so a bot added earlier has to be added again from the new link. Turning the schedule on takes the first snapshot within ten minutes. Needs the `ManageSettings` permission.