Implement logging for verification failures and enhance moderation responses

- Introduced a new logging event type `VERIFICATION_FAIL` to capture details of failed verification attempts, including reasons and actions taken.
- Updated moderation commands to include reasons in success messages for actions like ban, kick, and timeout.
- Enhanced the logging of ban and kick actions to include moderator information and reasons fetched from the audit log.
- Improved localization for new logging messages in both English and German.
- Documented changes in the phase tracking documentation to reflect the new logging capabilities and verification failure handling.
This commit is contained in:
TheOnlyMace
2026-07-25 16:14:41 +02:00
parent 1eec10ba80
commit dbee58cd81
11 changed files with 193 additions and 23 deletions

View File

@@ -42,7 +42,8 @@ const LOG_EVENT_TYPES: LogEventTypeDashboard[] = [
'THREAD_UPDATE',
'THREAD_DELETE',
'GUILD_UPDATE',
'MOD_ACTION'
'MOD_ACTION',
'VERIFICATION_FAIL'
];
interface LocalLogChannelGroup {

View File

@@ -518,7 +518,8 @@
"THREAD_UPDATE": "Thread aktualisiert",
"THREAD_DELETE": "Thread gelöscht",
"GUILD_UPDATE": "Server aktualisiert",
"MOD_ACTION": "Moderations-Aktion"
"MOD_ACTION": "Moderations-Aktion",
"VERIFICATION_FAIL": "Verifizierung fehlgeschlagen"
}
},
"welcome": {

View File

@@ -518,7 +518,8 @@
"THREAD_UPDATE": "Thread updated",
"THREAD_DELETE": "Thread deleted",
"GUILD_UPDATE": "Server updated",
"MOD_ACTION": "Moderation action"
"MOD_ACTION": "Moderation action",
"VERIFICATION_FAIL": "Verification failed"
}
},
"welcome": {