Commit Graph

5 Commits

Author SHA1 Message Date
185deb5df4 Include AI dependencies in Docker image 2026-01-16 19:39:56 +01:00
d093dd7c6d Add Discord bot setup instructions to README 2026-01-16 19:36:46 +01:00
534fbaf768 Fix Docker build: copy src before pip install, update license format 2026-01-16 19:32:54 +01:00
4e16777f25 Implement GuardDen Discord moderation bot
Features:
- Core moderation: warn, kick, ban, timeout, strike system
- Automod: banned words filter, scam detection, anti-spam, link filtering
- AI moderation: Claude/OpenAI integration, NSFW detection, phishing analysis
- Verification system: button, captcha, math, emoji challenges
- Rate limiting system with configurable scopes
- Event logging: joins, leaves, message edits/deletes, voice activity
- Per-guild configuration with caching
- Docker deployment support

Bug fixes applied:
- Fixed await on session.delete() in guild_config.py
- Fixed memory leak in AI moderation message tracking (use deque)
- Added error handling to bot shutdown
- Added error handling to timeout command
- Removed unused Literal import
- Added prefix validation
- Added image analysis limit (3 per message)
- Fixed test mock for SQLAlchemy model
2026-01-16 19:27:48 +01:00
ffe42b6d51 Initial commit 2026-01-16 17:40:45 +00:00