BotManualTHE COMMUNITY PLAYBOOK
English

Logs: setup and everyday use

Server event logs per category (messages, members, voice, channels & roles, server, moderation) and an invite tracker.

4 min read
On this page

What this feature does

Color-coded server logs per category and an invite tracker that shows who brought whom.

Before you begin

For server settings, open your server dashboard and select the server you manage. For commands and buttons, use the server where your community has enabled this feature. The options available to a member depend on that server’s settings.

Get started

1. Turn on Logs in the console

Open your server in the web console, go to Logs and enable the feature. A status banner shows which permissions and capabilities the bot has.

2. Pick a channel per category

Choose a log channel for each category (or one channel for all) and toggle the individual events. Live previews show each entry exactly as it will appear.

3. Filter the noise

Add channels and roles to ignore, keep bots filtered, and set the account age under which a join counts as a new account for the invite tracker.

4. Read the logs in Discord

Entries appear in your log channels within seconds. The console shows the invite leaderboard; with Invites & Rewards members get /invites stats and rewards too.

What the Discord audit log bot records

Discord’s own audit log is buried in server settings and hides message deletions by regular members. The bot posts the events that matter into channels your staff already read, colored by kind: green for joins and creations, red for leaves and deletions, amber for changes, violet for moderation.

  • Messages: edits, deletions and bulk deletions (with a .txt transcript of the cached messages).
  • Members: joins, leaves with their roles, nickname changes, role changes, timeouts, bans (with the reason) and unbans.
  • Voice: joins, leaves, moves between channels and server mute or deafen changes.
  • Channels & roles: creation, updates and deletion with a clear list of changes.
  • Server: name, icon, banner and settings changes, emojis and stickers.
  • Moderation: cases, AutoMod hits and raid alerts from the Moderation feature.

Message content and invite accuracy: what to expect

Showing the text of edited and deleted messages requires Discord’s privileged Message Content access for the bot. When it isn’t available, edit and delete entries still show the author, channel, time and a jump link, marked “Content unavailable”. The console tells you which mode your server is in.

The invite tracker compares invite use counts on every join. How precise it is depends on the permissions the bot has in your server; when a join can’t be matched with certainty it is recorded as unknown rather than guessed. Pair Logs with Verification and the AutoMod setup guide for a complete safety setup.

Questions and troubleshooting

How do I set up logging on my Discord server?

Invite the bot, open Logs in the web console, enable the feature and pick a log channel for each category you want. Entries start appearing right away; no commands are needed for setup.

Can the bot log deleted and edited messages?

Yes, every edit and deletion is logged with author, channel and time. The message text itself is only included when the bot has Discord’s Message Content access; otherwise the entry says the content is unavailable.

How does the invite tracker know who invited a member?

On every join the bot re-reads invite use counts and matches the invite whose count went up. Vanity URL joins and bots added through OAuth are labeled as such, and ambiguous joins are marked unknown.

What counts as a fake invite?

A join from an account younger than the age you set (7 days by default, 0 turns it off). Inviter stats split joins into regular, left, fake and rejoins, so invite contests can’t be farmed with alts.

Does the bot store my server’s logs?

No. Log entries are posted to your channels and not kept by the bot. Only invite attribution (who joined through which invite) is stored, to power the invite stats.

Next steps

Use the command reference below for the available Discord actions. If something does not appear or respond, follow Troubleshooting. Server admins can check roles and permissions before changing access.

Commands for this feature

This feature is used through its console settings, messages or buttons. It has no dedicated command in the current reference.

Find an answer

Search features, commands and the full text of every guide.

Start typing to find a guide.

Browse all guides