🛡️ Advanced Discord Moderation Bot
Optimized for demanding servers: security, speed, and simplicity.
✨ Why This Bot?
This bot is designed to
protect your Discord server against
unwanted images, spam, raids, and malicious behavior, all
without overloading your resources (even on a Raspberry Pi 3B!).
It combines
intelligence, autonomy, and discretion for
effective and invisible moderation.
⚡ Key Features
🔒 Automatic Moderation
- Instant detection and removal of banned images (via unique hash).
- Whitelist system to avoid false positives.
- Anti-spam/raid: Automatically bans users who send too many images in a short time.
- Warning system: 1⚠️=warning, 2⚠️=temporary mute, 3⚠️=permanent ban.
🌐 Multi-Server & Isolation
- Each server has its own configuration (banned images, logs, custom commands).
- Central server for global management (logs, controls).
⚙️ Powerful Commands
Command | Description | Permission |
|------------------|----------------------------------------------|------------------|
|
/ban-image | Adds an image to the blacklist. | Moderator |
|
/whitelist | Allows an image (avoids false positives). | Moderator |
|
/veille | Activates sleep mode (saves resources). | Admin |
|
/afu | Deactivates sleep mode (max surveillance). | Admin |
|
/reboot | Restarts the bot cleanly. | Admin |
|
/op @user | Adds a user to the authorized list. | Admin |
💡 Optimized for Raspberry Pi
- Smart sleep mode: Reduces CPU load by alternating between active monitoring and pause.
- SQLite database: Lightweight, fast, and reliable.
- No unnecessary loops: Everything is based on Discord events (resource-efficient).
📜 Complete Logs
- Records deletions, bans, warnings, and errors.
- Centralized logs for the main server.
🎯 Who Is This For?
✅
Server administrators who want
automated and discreet moderation.
✅
Gaming/esports communities to prevent raids and spam.
✅
Content creators who want to protect their server from unwanted images.
✅
Raspberry Pi users: Works perfectly on lightweight hardware.
🚀 Why Choose This Bot?
✔
100% autonomous: No need for constant human supervision.
✔
Ultra-fast: Instant reaction to violations.
✔
Lightweight: Designed to run 24/7 on a Raspberry Pi 3B (1GB RAM).
✔
Customizable: Adapted to your needs (tolerance thresholds, cooldowns, etc.).
✔
Open Source: Transparent and modifiable code.
📢 Testimonials (Examples)
>
"Since I started using this bot, no more spam or unwanted images on my server. And it doesn’t lag!" —
A satisfied admin
>
"Perfect for my gaming server: raids are stopped dead, and my moderators have less work." —
A v1 user
🔧 Minimum Requirements
- Python 3.10+
- Libraries:
discord.py, Pillow, imagehash, aiosqlite
- Hosting: Raspberry Pi, VPS, or any Linux/Windows server.
💬 Support & Improvements
This bot is
constantly evolving. Have an idea or a specific need?
Let me know!
(Examples: Adding new commands, integration with other tools, etc.)
📌 Note: This bot is
designed to be simple, effective, and discreet. No unnecessary features, just the essentials for
optimal moderation.