Add global command channel rules and enhance command handling
- Introduced global command channel whitelist and blacklist in the GuildSettings model for improved command access control. - Implemented command gate logic in the command routing to handle channel and role restrictions, providing user feedback for denied commands. - Enhanced the CommandsManager component to support global rules and channel/role selection, improving the user interface for managing command permissions. - Updated localization files to include new keys for global command rules and related messages, ensuring clarity in user interactions.
This commit is contained in:
@@ -88,6 +88,22 @@
|
||||
- Musik- und KI-Modul (nur auf Zuruf)
|
||||
- Premium-Zahlungsanbindung
|
||||
|
||||
## Post-Phase – Command-Global-Rules + Channel-Picker (Status: implementiert)
|
||||
|
||||
### Abgeschlossen (Code)
|
||||
|
||||
- Globale Command Channel-Whitelist/-Blacklist in `GuildSettings` + Commands-UI
|
||||
- Searchable Multi-Select für Kanäle/Rollen (statt Raw-IDs) auf der Commands-Seite
|
||||
- APIs: `/commands/globals`, `/channels`, `/roles`
|
||||
- Bot erzwingt globale + per-Command Channel/Role/Cooldown-Regeln in `routeCommand`
|
||||
- Migration `20260722210000_command_global_channels`
|
||||
|
||||
### Manuell testen
|
||||
|
||||
- [ ] Commands: globale Whitelist/Blacklist speichern, in Discord prüfen
|
||||
- [ ] Per-Command Channel/Rollen per Dropdown setzen
|
||||
- [ ] Deaktivierter Command / Cooldown antwortet ephemeral
|
||||
|
||||
## Nächster geplanter Schritt
|
||||
|
||||
- Deploy auf Traefik-Server manuell verifizieren; danach ggf. `deploy` → `main` mergen (nur auf Freigabe).
|
||||
|
||||
Reference in New Issue
Block a user