Ledra Docs

Logging commands

Three commands to route server events into channels.


/logging set#

Send a log category to a channel. Administrator.

Option Required Description
category yes messages · members · roles · channels · moderation · automod · all
channel yes Target channel
/logging set category:all channel:#server-logs
/logging set category:moderation channel:#mod-logs

all points every category at the same channel in one go. You can still re-point individual categories afterwards.

Ledra verifies it can View Channel, Send Messages and Embed Links in that channel, and refuses with the missing permission named. A success means logging genuinely works.


/logging disable#

Stop logging a category. Administrator.

Option Required Description
category yes One category, or all
/logging disable category:messages
/logging disable category:all

Already-posted log entries are untouched.


/logging status#

Moderator. All six categories with their channel, or disabled.


The categories#

Category Events
messages Edited, deleted, bulk deleted
members Joined, left, nickname changed
roles Role created/deleted/edited, member gained or lost roles
channels Channel created/deleted/edited
moderation Ledra's actions, plus bans and timeouts done elsewhere
automod Every rule that fires

Logging guide

Ledra documentation. Everything here describes the hosted bot.