base ¶
Base manager class for config modules.
Provides common patterns and utilities for all configuration managers to reduce duplication and ensure consistency.
Classes:
-
BaseConfigManager–Base class for configuration managers with common patterns.
Classes¶
BaseConfigManager ¶
Python
BaseConfigManager(bot: Tux)
Base class for configuration managers with common patterns.
Initialize the manager with a bot instance.
Parameters:
-
bot(Tux) –The bot instance to use for database operations.
Subclassed by:
Methods:
-
configure_dashboard–Open the unified config dashboard in a specific mode.
-
create_error_embed–Create a standardized error embed.
-
create_success_embed–Create a standardized success embed.
-
create_warning_embed–Create a standardized warning embed.
-
create_info_embed–Create a standardized info embed.
-
handle_error–Handle errors consistently across managers.