Log levels
Each server chooses with /config log-level how much PolarBot posts in its log channel, from 0 (nothing) to 10 (every gateway event). Each level includes everything below it. The default is 2. Nothing that is logged is stored: events are batched (up to 10 embeds about every 2 seconds per server) and posted to the log channel only. Events in the log channel itself and the bot’s own actions are never logged. Scanner flags appear as mod cards from level 1 when a log channel is set.
| Level | Adds | Events |
|---|---|---|
| 0 | Nothing is logged. | – |
| 1 | Adds scanner punishments: deletes, timeouts, kicks, bans and hacked accounts. | ScannerAction |
| 2 | Adds moderation done through PolarBot. | BotModeration |
| 3 | Adds every message the scanner flags. | MessageFlagged |
| 4 | Adds Discord’s own moderation: bans, unbans, timeouts, kicks and AutoMod actions. | BanAdd, BanRemove, NativeTimeout, NativeKick, AutoModExecution |
| 5 | Adds members joining and leaving, and invites being created, deleted and used. | MemberJoin, MemberLeave, InviteCreate, InviteDelete, InviteUse |
| 6 | Adds deleted and edited messages, with the text before and after when known. | MessageDelete, MessageBulkDelete, MessageEdit |
| 7 | Adds changes to roles, channels, the server, emojis, stickers and webhooks. | GuildObjectChange |
| 8 | Adds nickname, avatar, username and role changes, and voice activity. | NicknameChange, AvatarChange, MemberRoles, UsernameChange, Voice |
| 9 | Adds reactions, threads, pins and every scan score with its reasons. | Reaction, ThreadChange, PinsUpdate, ScanScore |
| 10 | Adds every message, presence, typing, command and other Discord event. | MessageCreate, Presence, Typing, Interaction, Gateway |