pi_portal.cli_commands.cli_machine.chatbot.ChatBotCommand
- class pi_portal.cli_commands.cli_machine.chatbot.ChatBotCommand[source]
Bases:
CommandTaskSchedulerMixin,CommandManagedStateMixin,CommandBaseCLI command to start the Slack bot.
- load_state(debug: bool, file_path: str = '/etc/pi_portal/config.json') None
Load and configure state.
- Parameters:
debug (bool) – Enable or disable debug logs.
file_path (str) – The path to the file to load.
- require_task_scheduler() None
Wait until the task manager service is running.