Log channels

Update log channels

Changed on

Sets 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

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

main_channelstring nullable

The main log channel.

category_modlogstring nullable

Modlogs.

category_membersstring nullable

Members.

category_actionsstring nullable

Actions.

category_textstring nullable

Messages.

category_voicestring nullable

Voice.

category_filesstring nullable

Files (deleted attachments).

category_nsfwstring nullable

Age-restricted (message logs from age-restricted channels). Must be an age-restricted channel.

category_serverstring nullable

Server.

category_rolesstring nullable

Roles.

category_channelsstring nullable

Channels.

category_quarkstring nullable

Quark Events.

Response

Accepted.

object required

An empty object.

Example response

{}

Changes