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:
@@ -119,6 +119,12 @@ if (!isShard) {
|
||||
} catch (error) {
|
||||
logger.error({ error }, 'Failed to register application commands');
|
||||
}
|
||||
try {
|
||||
const { applyBotPresence } = await import('./presence.js');
|
||||
await applyBotPresence(context);
|
||||
} catch (error) {
|
||||
logger.warn({ error }, 'Failed to apply initial bot presence');
|
||||
}
|
||||
});
|
||||
|
||||
client.on(Events.MessageCreate, async (message) => {
|
||||
|
||||
Reference in New Issue
Block a user