pi_portal.modules.integrations.chat.cli.handler.ChatCLICommandHandler
- class pi_portal.modules.integrations.chat.cli.handler.ChatCLICommandHandler(bot: TypeChatBot)[source]
Bases:
objectChat CLI command handler.
- Parameters:
bot (TypeChatBot) – The configured chatbot in use.
- handle(command_class: Type[ChatCommandBase]) None[source]
Handle a command class instance.
- Parameters:
command_class (Type[ChatCommandBase]) – The command class to invoke.