Troubleshooting

Applies one of the automatic fixes from a troubleshooting report. Send the finding's fix object as the request body.

post/servers/{guild_id}/troubleshoot/fix

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

kind'initialise_guild' | 'register_webhook' | 'clear_log_channel' | 'enable_log_type' | 'remove_ignore' | 'disable_bot_ignore' required
automaticboolean

True if this endpoint can apply the fix. A fix with automatic: false has to be done by hand and is rejected.

category'mainChannel' | 'modlogCategory' | 'membersCategory' | 'actionsCategory' | 'textCategory' | 'voiceCategory' | 'filesCategory' | 'serverCategory' | 'rolesCategory' | 'channelsCategory' | 'quarkCategory'

For register_webhook and clear_log_channel.

channelIdstring

For register_webhook.

logTypeinteger

For enable_log_type.

ignoreTypeinteger

For remove_ignore.

valuestring

For remove_ignore.

scope'executors' | 'targets'

For disable_bot_ignore.

Response

The fix was applied.

appliedboolean

Changes