# Channel settings

PATCH https://liege.dev/api/settings/channels/modlog

curl https://api.liege.dev/settings/channels/modlog \
    --header "Authorization: Bearer BEARER_TOKEN" \
    --header "Content-Type: application/json" \
    --request PATCH \
    --data '{ "guildid": "000000000000000000", "channelid": "000000000000000000" }'
Name Type Description
guildid string The Discord guild ID of the guild to be modified.
channelid string The Discord channel ID of the channel to be set to receive modlogs.
# Example

{
    "guildid": "000000000000000000",
    "channelid": "000000000000000000"
}

PATCH https://liege.dev/api/settings/channels/eventlog

curl https://api.liege.dev/settings/channels/eventlog \
    --header "Authorization: Bearer BEARER_TOKEN" \
    --header "Content-Type: application/json" \
    --request PATCH \
    --data '{ "guildid": "000000000000000000", "channelid": "000000000000000000" }'
Name Type Description
guildid string The Discord guild ID of the guild to be modified.
channelid string The Discord channel ID of the channel to be set to receive guild event logs.
# Example

{
    "guildid": "000000000000000000",
    "channelid": "000000000000000000"
}