Discord logging & audit log bot

Every actionon your server,on the record.

Sentinel watches bans, roles, permissions, messages and channels, keeps an encrypted history and delivers every event to the right channel. You decide what gets recorded and where.

Open source · AGPL-3.0
sentinel://audit streamlistening
  1. moderation.banmod.luke → spam_bot · reason: phishing
    sent
  2. role.update@Staff · +Manage Messages
    sent
  3. channel.update#announcements · @everyone permissions changed
    sent
  4. message.delete#general · message by julia.r
    stored
  5. member.joinnew_user · account created 2 days ago
    filtered
70 eventsdelivery okencrypted history
70Discord event types
AES-256history encryption
4RBAC access levels
0moderation permissions required
Features

More than a log channel.

Collection, storage and delivery are separate, so you can keep a complete history without publishing every single event.

Moderation

Who did what

Kicks, bans, timeouts, roles, permissions, webhooks and AutoMod, with the moderator resolved from Discord’s Audit Log.

Messages

Context survives

Edits and deletions with the original text and attachments, thanks to encrypted snapshots.

Routing

Every event in its place

One channel for bans, one for messages, mentions only where needed. Filters for users, roles and channels.

History

Search and export

Filter by event, actor, target, channel and time range. Export to JSON when investigating an incident.

Access

Role-aware dashboard

Discord sign-in with Viewer, Moderator, Admin and Owner levels verified live against the server.

Retention

Keep only what you need

Global or per-event retention, plus deletion of a user’s data on request.

Pipeline

From event to channel, nothing lost.

  1. 01

    Discord Gateway

    The bot receives the event and resolves the actor from the Audit Log.

  2. 02

    Encrypted history

    The event is stored before delivery: a failed send never deletes anything.

  3. 03

    Filters & routing

    Destination channel, exceptions, mentions and embed customisation are applied.

  4. 04

    Log channel

    The embed lands in the chosen channel; failed attempts stay visible in the dashboard.

Getting started

Up and running in three steps.

  1. 01

    Add the bot

    Authorise Sentinel with read and log-delivery permissions only: no moderation rights.

  2. 02

    Sign in with Discord

    The dashboard lists the servers you can manage and applies your access level.

  3. 03

    Choose what to record

    Enable loggers, pick channels and retention. Every panel change is audited.

Security

Built so it cannot do damage.

A logging bot sees a lot. Sentinel is designed so that, even if compromised, it cannot moderate and cannot easily exfiltrate.

Read-only
An internal policy blocks bans, kicks and changes to roles, channels and messages, regardless of Discord permissions.
Encrypted data
Message content, attachments and event details are encrypted with AES-256-GCM at rest.
Separated secrets
The bot token never reaches the web panel; every service has its own credentials.
Least-privilege database
The bot cannot read sessions or panel audit; distinct Postgres roles for API and bot.
Segmented network
Database and Redis are never exposed; each container only reaches what it needs.
Open source

The code is open. Check it.

A bot that reads your server should be verifiable. All of Sentinel — bot, dashboard and deployment scripts — is public on GitHub under the AGPL-3.0 licence.

github.com/haxurus/Sentinel
  • Read every line

    See for yourself what the bot records, how it encrypts data and which Discord actions it can take.

  • Host it yourself

    Fork it and run your own instance with Docker on your infrastructure: your data stays yours.

  • Contribute

    Report issues or propose changes. Anyone offering a modified version as a service must publish its source.

AGPL-3.0-only
FAQ

Everything you need to know.

How can I see deleted messages on Discord?

Discord does not keep deleted messages. Sentinel stores an encrypted snapshot of every message when it is sent, so when it is edited or deleted your log channel shows the original text, the author and the attachments.

How do I find out who banned, kicked or timed out a member?

Sentinel matches every event with Discord’s Audit Log and shows the moderator who did it, the target and the reason — for bans, kicks, timeouts, roles, permissions, channels and webhooks.

Does Sentinel need administrator permissions?

No. It only needs to read channels, view the Audit Log and post in your log channel. An internal policy blocks every moderation action, whatever role the bot has.

Is Sentinel free?

Yes: the Free plan includes every standard logger. Plus, Pro and Brand add high-volume loggers, longer history and higher limits. The code is open source, so you can also host it yourself.

Where is my data stored?

In a PostgreSQL database, with message content and event details encrypted with AES-256-GCM. You choose how long it is kept and can delete a user’s data on request.

Bring order to your server logs.

Add the bot, sign in with Discord and enable your first logger in minutes.