Implement confirmation flow for destructive moderation actions
- Added confirmation prompts for destructive commands such as `/ban`, `/purge`, and `/case delete` to enhance user safety. - Integrated locale support for confirmation messages, ensuring clarity in both German and English. - Refactored command logic to utilize the new confirmation system, improving user experience and reducing accidental actions.
This commit is contained in:
@@ -56,6 +56,7 @@ Dieses Dokument hält den aktuellen Implementierungsstand fest. Es wird bei jede
|
||||
- `/case view|edit|delete`
|
||||
- `/modnote add|list`
|
||||
- user-facing Reply-Strings im Moderationsfluss auf i18n-Keys umgestellt (`de`/`en`)
|
||||
- Bestätigungsflow für destruktive Aktionen (`/ban`, `/purge`, `/case delete`) mit Buttons
|
||||
- Tests (aktuell vorhanden):
|
||||
- `packages/shared/src/i18n.test.ts`
|
||||
- `apps/bot/src/modules/moderation/duration.test.ts`
|
||||
@@ -64,8 +65,6 @@ Dieses Dokument hält den aktuellen Implementierungsstand fest. Es wird bei jede
|
||||
|
||||
- Vollständige i18n-Auslagerung:
|
||||
- Restarbeiten: Command-Beschreibungen/-Optionstexte ebenfalls in zentralen Locale-Strukturen führen.
|
||||
- Slash-Command-Bestätigungen für destruktive Aktionen gemäß SPEC-Regel:
|
||||
- Ban, Purge und weitere destruktive Flows sollen explizite Bestätigungsschritte erhalten.
|
||||
- Audit-/Case-System weiter härten:
|
||||
- Einheitliche, nachvollziehbare Audit-Metadaten pro Moderationsaktion.
|
||||
- Migrations-Workflow finalisieren:
|
||||
|
||||
Reference in New Issue
Block a user