commands ¶
Command permission management for the config system.
Classes:
-
CommandManager–Management commands for command permissions.
Classes¶
CommandManager ¶
Python
CommandManager(bot: Tux)
Bases: BaseConfigManager
Management commands for command permissions.
Initialize the manager with a bot instance.
Parameters:
-
bot(Tux) –The bot instance to use for database operations.
Methods:
-
configure_commands–Configure command permissions using the unified config dashboard.
-
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.