Log channels
Update log channels
Changed onSets the main log channel or the channel for one or more categories. Include only the fields you want to change.
Set a field to a channel ID to send that category there, or to null to make it follow the main channel again. Quark registers its webhook in each channel you set, so it needs Manage Webhooks there.
category_nsfw is the channel for message logs from age-restricted channels. It only accepts a channel that is age-restricted itself. Set it to null to clear it.
patch/servers/{guild_id}/config/logging/channels
Request
- Base URLhttps://quark.bot/api
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
guild_idstring required
Example:301655085954367490
The server's ID. Must be the server the token was created for.
Query parameters
bot'pro'
Set to pro to act on the Quark Pro bot's configuration. Leave out for the main Quark bot.
Request body
Response
Accepted.
object required
An empty object.
Example response
{}Changes
- info
added the new optional request property
- info
- warning
removed the request property
- warning