Implement Owner Panel features and maintenance mode handling
- Introduced the Owner Panel with new routes and UI components for managing guilds, user blacklists, feature flags, and bot presence. - Added maintenance mode functionality to prevent non-owner users from executing commands during maintenance periods. - Enhanced localization with new keys for Owner Panel features in both English and German. - Updated job processing to include a presence refresh job, ensuring the bot's status is regularly updated. - Improved environment configuration to support owner user IDs for access control.
This commit is contained in:
@@ -9,6 +9,7 @@ export * from './phase4.js';
|
||||
export * from './phase5.js';
|
||||
export * from './phase6.js';
|
||||
export * from './dashboard.js';
|
||||
export * from './owner.js';
|
||||
|
||||
export const LocaleSchema = z.enum(['de', 'en']);
|
||||
export type Locale = z.infer<typeof LocaleSchema>;
|
||||
@@ -49,6 +50,7 @@ const de: Dictionary = {
|
||||
'generic.botMissingPermission': 'Dem Bot fehlt die erforderliche Berechtigung ({permission}).',
|
||||
'generic.invalidRegex': 'Ungültiges Regex-Muster.',
|
||||
'generic.error': 'Es ist ein Fehler aufgetreten.',
|
||||
'generic.maintenance': 'Nexumi ist derzeit im Wartungsmodus. Bitte versuche es später erneut.',
|
||||
'generic.unknownCommand': 'Unbekannter Befehl.',
|
||||
'moderation.success': 'Aktion erfolgreich ausgeführt.',
|
||||
'moderation.reason.none': 'Kein Grund angegeben',
|
||||
@@ -523,6 +525,7 @@ const en: Dictionary = {
|
||||
'generic.botMissingPermission': 'Bot lacks required permission ({permission}).',
|
||||
'generic.invalidRegex': 'Invalid regex pattern.',
|
||||
'generic.error': 'An error occurred.',
|
||||
'generic.maintenance': 'Nexumi is currently in maintenance mode. Please try again later.',
|
||||
'generic.unknownCommand': 'Unknown command.',
|
||||
'moderation.success': 'Action executed successfully.',
|
||||
'moderation.reason.none': 'No reason provided',
|
||||
|
||||
Reference in New Issue
Block a user