Files
Nexumi/packages/shared/src/command-locales.ts
smueller 2518119257 Enhance bot functionality with AutoMod, Logging, Welcome, and Verification features
- Implemented AutoMod capabilities including spam filtering, anti-raid, and anti-nuke actions.
- Added Logging module to track moderation actions and events across the bot.
- Introduced Welcome module for customizable welcome messages and autoroles.
- Developed Verification system with captcha and role assignment features.
- Updated Prisma schema to include new models for AutoMod, Logging, Welcome, and Verification.
- Enhanced command localization for new features in both German and English.
- Improved health server to handle captcha verification requests.
- Added new environment variable for public base URL to support captcha links.
2026-07-22 12:28:42 +02:00

281 lines
7.3 KiB
TypeScript

export const commandLocales = {
'moderation.ban.description': {
de: 'Bannt einen Nutzer',
en: 'Ban a user'
},
'moderation.ban.options.user': {
de: 'Zielnutzer',
en: 'Target user'
},
'moderation.ban.options.reason': {
de: 'Grund',
en: 'Reason'
},
'moderation.ban.options.duration': {
de: 'Optionale Temp-Ban-Dauer (z. B. 7d)',
en: 'Optional temp-ban duration (e.g. 7d)'
},
'moderation.unban.description': {
de: 'Entbannt einen Nutzer',
en: 'Unban a user'
},
'moderation.unban.options.user_id': {
de: 'Discord-Nutzer-ID',
en: 'Discord user id'
},
'moderation.kick.description': {
de: 'Kickt einen Nutzer',
en: 'Kick a user'
},
'moderation.timeout.description': {
de: 'Timeout für einen Nutzer',
en: 'Timeout a user'
},
'moderation.timeout.options.duration': {
de: 'Dauer (z. B. 15m)',
en: 'Duration (e.g. 15m)'
},
'moderation.untimeout.description': {
de: 'Entfernt den Timeout eines Nutzers',
en: 'Remove timeout from a user'
},
'moderation.warn.description': {
de: 'Verwarnungen verwalten',
en: 'Manage user warnings'
},
'moderation.warn.add.description': {
de: 'Verwarnung hinzufügen',
en: 'Add warning'
},
'moderation.warn.list.description': {
de: 'Verwarnungen anzeigen',
en: 'List warnings'
},
'moderation.warn.remove.description': {
de: 'Verwarnung entfernen',
en: 'Remove warning'
},
'moderation.warn.clear.description': {
de: 'Verwarnungen eines Nutzers löschen',
en: 'Clear warnings for user'
},
'moderation.warn.escalation_set.description': {
de: 'Eskalationsregel erstellen oder aktualisieren',
en: 'Create or update escalation rule'
},
'moderation.warn.escalation_list.description': {
de: 'Eskalationsregeln anzeigen',
en: 'List escalation rules'
},
'moderation.warn.escalation_remove.description': {
de: 'Eskalationsregel entfernen',
en: 'Remove escalation rule'
},
'moderation.warn.options.count': {
de: 'Schwellenwert für Verwarnungen',
en: 'Warning count threshold'
},
'moderation.warn.options.action': {
de: 'Eskalationsaktion',
en: 'Escalation action'
},
'moderation.warn.options.escalation_duration': {
de: 'Timeout-Dauer (für TIMEOUT erforderlich)',
en: 'Timeout duration (required for TIMEOUT)'
},
'moderation.warn.options.escalation_reason': {
de: 'Optionaler Eskalationsgrund',
en: 'Optional escalation reason'
},
'moderation.warn.options.warning_id': {
de: 'Verwarnungs-ID',
en: 'Warning ID'
},
'moderation.choice.timeout': {
de: 'Timeout',
en: 'timeout'
},
'moderation.choice.kick': {
de: 'Kick',
en: 'kick'
},
'moderation.choice.ban': {
de: 'Ban',
en: 'ban'
},
'moderation.purge.description': {
de: 'Nachrichten massenhaft löschen',
en: 'Bulk delete messages'
},
'moderation.purge.options.amount': {
de: '2-100',
en: '2-100'
},
'moderation.purge.options.user': {
de: 'Nur Nachrichten dieses Nutzers löschen',
en: 'Only purge this user messages'
},
'moderation.purge.options.bots': {
de: 'Nur Bot-Nachrichten löschen',
en: 'Only purge bot messages'
},
'moderation.purge.options.links': {
de: 'Nur Nachrichten mit Links löschen',
en: 'Only purge messages containing links'
},
'moderation.purge.options.attachments': {
de: 'Nur Nachrichten mit Anhängen löschen',
en: 'Only purge messages with attachments'
},
'moderation.purge.options.regex': {
de: 'Nur Nachrichten per Regex löschen',
en: 'Only purge messages matching regex'
},
'moderation.slowmode.description': {
de: 'Slowmode für den Kanal setzen',
en: 'Set channel slowmode'
},
'moderation.slowmode.options.seconds': {
de: '0-21600',
en: '0-21600'
},
'moderation.lock.description': {
de: 'Aktuellen Textkanal sperren',
en: 'Lock current text channel'
},
'moderation.unlock.description': {
de: 'Aktuellen Textkanal entsperren',
en: 'Unlock current text channel'
},
'moderation.nick.description': {
de: 'Nicknames verwalten',
en: 'Manage nicknames'
},
'moderation.nick.set.description': {
de: 'Nickname setzen',
en: 'Set nickname'
},
'moderation.nick.reset.description': {
de: 'Nickname zurücksetzen',
en: 'Reset nickname'
},
'moderation.nick.options.nickname': {
de: 'Neuer Nickname',
en: 'New nickname'
},
'moderation.case.description': {
de: 'Moderationsfälle verwalten',
en: 'Manage moderation cases'
},
'moderation.case.view.description': {
de: 'Fall anzeigen',
en: 'View case'
},
'moderation.case.edit.description': {
de: 'Fallgrund bearbeiten',
en: 'Edit case reason'
},
'moderation.case.delete.description': {
de: 'Fall soft-löschen',
en: 'Soft-delete case'
},
'moderation.case.options.id': {
de: 'Fallnummer',
en: 'Case number'
},
'moderation.case.options.reason': {
de: 'Neuer Grund',
en: 'New reason'
},
'moderation.modnote.description': {
de: 'Mod-Notizen verwalten',
en: 'Manage mod notes'
},
'moderation.modnote.add.description': {
de: 'Notiz hinzufügen',
en: 'Add note'
},
'moderation.modnote.list.description': {
de: 'Notizen anzeigen',
en: 'List notes'
},
'moderation.modnote.options.note': {
de: 'Notiz',
en: 'Note'
},
'moderation.common.options.user': {
de: 'Zielnutzer',
en: 'Target user'
},
'moderation.common.options.reason': {
de: 'Grund',
en: 'Reason'
},
'moderation.common.options.target': {
de: 'Ziel',
en: 'Target'
},
'automod.description': {
de: 'Auto-Moderation verwalten',
en: 'Manage auto-moderation'
},
'automod.status.description': {
de: 'Aktive AutoMod-Regeln anzeigen',
en: 'Show active AutoMod rules'
},
'welcome.description': {
de: 'Willkommensnachrichten testen',
en: 'Test welcome messages'
},
'welcome.test.description': {
de: 'Test-Willkommensnachricht senden',
en: 'Send a test welcome message'
},
'welcome.preview.description': {
de: 'Vorschau der Willkommensnachricht',
en: 'Preview the welcome message'
},
'verify.description': {
de: 'Verifizierung einrichten',
en: 'Configure verification'
},
'verify.setup.description': {
de: 'Verifizierung konfigurieren',
en: 'Configure verification'
},
'verify.setup.options.channel': {
de: 'Verifizierungskanal',
en: 'Verification channel'
},
'verify.setup.options.verified_role': {
de: 'Rolle nach Verifizierung',
en: 'Role after verification'
},
'verify.setup.options.unverified_role': {
de: 'Rolle vor Verifizierung',
en: 'Role before verification'
},
'verify.setup.options.mode': {
de: 'Verifizierungsmodus',
en: 'Verification mode'
},
'verify.setup.options.min_account_age_days': {
de: 'Mindest-Accountalter in Tagen',
en: 'Minimum account age in days'
},
'verify.setup.options.fail_action': {
de: 'Aktion bei Fehlschlag',
en: 'Action on failure'
},
'verify.panel.description': {
de: 'Verifizierungs-Panel posten',
en: 'Post verification panel'
},
'verify.panel.options.channel': {
de: 'Optionaler Kanal für das Panel',
en: 'Optional channel for the panel'
}
} as const;
export type CommandLocaleKey = keyof typeof commandLocales;