Skip to content

PyroClient

PyroClient

Bases: Client

add_command(command)

Add command to the bot's internal commands list

Args:
* command (`str`)

collect_commands() async

Gather list of the bot's commands

Returns:
* `list[CommandSet]`: List of the commands' sets.

register_commands(command_sets=None) async

Register commands stored in bot's 'commands' attribute

remove_commands(command_sets=None) async

Remove commands stored in bot's 'commands' attribute