ranks ¶
Rank management commands for the config system.
Classes:
-
RankManager–Management commands for permission ranks.
Classes¶
RankManager ¶
Python
RankManager(bot: Tux)
Bases: BaseConfigManager
Management commands for permission ranks.
Initialize the manager with a bot instance.
Parameters:
-
bot(Tux) –The bot instance to use for database operations.
Methods:
-
configure_ranks–View permission ranks using the unified config dashboard.
-
initialize_ranks–Initialize default permission ranks (0-7).
-
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.