utils ¶
Utility functions for the help command system.
This module contains utility functions for formatting, categorizing, and navigating help command content.
Functions:
-
format_multiline_description–Format a multiline description with quote formatting for each line.
-
truncate_description–Truncate a description to a maximum length.
-
paginate_items–Split items into pages of specified size.
-
create_cog_category_mapping–Create a mapping of command categories and commands.
-
extract_cog_group–Extract the cog group from a cog's module path.
-
get_cog_groups–Retrieve a list of module groups from the 'modules' folder.
-
is_large_command_group–Check if a command group is large and needs special handling.
Functions¶
format_multiline_description ¶
truncate_description ¶
paginate_items ¶
create_cog_category_mapping ¶
extract_cog_group ¶
get_cog_groups ¶
Retrieve a list of module groups from the 'modules' folder.
Returns:
-
A list of module group names.–