feat: add Cat module with /cat and /catgif commands using TheCatAPI
All checks were successful
Auto Build and Push Docker Image / build (push) Successful in 7s

This commit is contained in:
sarah
2026-08-02 23:08:29 +02:00
parent 5c40faa5c9
commit ddfc82e1c5
6 changed files with 105 additions and 1 deletions

View File

@@ -19,7 +19,8 @@ The bot uses a **Modular Command & Event Loading** pattern with **ESM (ECMAScrip
10. **Welcome/Goodbye System:** Guild member add/remove events with customizable messages.
11. **Logging System:** Configurable event logging (messages, roles, moderation, etc.) via centralized `EventLogger`.
12. **Role Selection System:** Self-service role assignment via select menus with support for exclusive categories and max-role limits.
13. **Centralized Event Logger:** Kapsel event logs into `EventLogger.sendLog()` to eliminate duplicated logging logic across event files.
13. **Cat & CatGIF System:** TheCatAPI integration for random cat images and GIFs (`CatManager`).
14. **Centralized Event Logger:** Kapsel event logs into `EventLogger.sendLog()` to eliminate duplicated logging logic across event files.
## 📁 Project Structure
@@ -37,6 +38,7 @@ pixelpoebel/
│ ├── Command.ts
│ ├── Database.ts # Database with Transaction, Indexes & Surgical Caching
│ ├── EventLogger.ts # Centralized event logging helper
│ ├── CatManager.ts # TheCatAPI HTTP request helper
│ ├── TwitchManager.ts # Batch Polling & Transaction logic
│ ├── TwitchMonitor.ts # IRC Monitoring & Webhook reuse
│ ├── TwitchCache.ts # IRC Message FIFO Cache