Optimize Twitch polling with batching and implement database caching with WAL mode

This commit is contained in:
2026-04-28 20:42:34 +02:00
parent 21c3b01e64
commit b2c3f5731b
12 changed files with 240 additions and 614 deletions

View File

@@ -131,18 +131,14 @@ npm run deploy
- `/owner servers` – Alle Server
- `/owner help` – Owner-Hilfe
## 📡 Features
## 📡 Features & Optimierungen
- ✅ Modular Architecture
- ✅ TypeScript
- ✅ SQLite Database
- ✅ Twitch Monitoring (Stream-Status)
- ✅ TwitchMonitor IRC Chat Logging (Mod-Events)
- ✅ Rollen-Auswahl (Self-Service)
- ✅ Moderation Tools
- ✅ Konfigurierbares Warn-System
- ✅ Auto-Antworten (Trigger)
- ✅ Timer & Erinnerungen
- ✅ Welcome/Goodbye Messages
- ✅ Event Logging
- ✅ Docker Support
- ✅ **Modular Architecture:** TypeScript-basiert, ESM-Unterstützung.
- ✅ **High Performance Database:** SQLite mit **WAL-Modus** und **In-Memory Caching** für Guild-Settings und Trigger.
- ✅ **Optimized Twitch Polling:** Nutzt **Batch-Requests** (100 Kanäle pro Request) und ein 2-Minuten-Intervall für zeitnahe Benachrichtigungen.
- ✅ **TwitchMonitor IRC:** Echtzeit IRC Chat-Logging (Mod-Events) via Webhooks und FIFO-Cache.
- ✅ **Advanced Moderation:** Warn-System mit Auto-Actions, umfangreiches Purge-System.
- ✅ **Role Selection:** Self-Service Rollen-System über Discord Select Menus.
- ✅ **Reminders:** Intelligentes Zeit-Parsing (z.B. "morgen 15:00", "30min").
- ✅ **Event Logging:** Detaillierte Erfassung von Server-Ereignissen.
- ✅ **Docker Support:** Containerisiertes Deployment inklusive Volume-Mounts für Daten.