Commit Graph

4 Commits

Author SHA1 Message Date
95db3f75f5 quick fix 2026-01-28 18:56:48 +00:00
be5daffdb4 fuck openai and there nsfw guidelines 2026-01-28 18:38:23 +00:00
cb6049361e feat: Add user blocklist for instant media deletion
Add blocklist feature to automatically delete ALL media (images, GIFs,
embeds, URLs) from specific users without AI analysis.

Changes:
- Add blocked_user_ids config field to config.yml
- Implement blocklist check in ai_moderation.py (runs before AI checks)
- Update README.md with blocklist documentation

Benefits:
- No AI cost (instant deletion)
- Useful for known spam accounts or problematic users
- Blocks all media types: attachments, embeds, URLs
- Logged for moderation tracking
2026-01-27 19:58:40 +01:00
08815a3dd0 WIP: Minimal bot refactor - new files and core updates
- Created config.yml template with conservative AI limits
- Created owner.py cog (status, reload, ping commands)
- Created config_loader.py service for YAML config
- Created ai_rate_limiter.py for AI cost control
- Updated bot.py to load only 3 cogs (automod, ai_moderation, owner)
- Simplified config.py (removed unused settings)
- Deleted unnecessary cogs, services, models
- Updated models/__init__.py

Next: Update automod and ai_moderation cogs
2026-01-27 18:58:56 +01:00