pi_portal.modules.integrations.chat.bases.bot.ChatBotBase

class pi_portal.modules.integrations.chat.bases.bot.ChatBotBase[source]

Bases: ArchivedLogFileWriter, Generic[TypeIntegrationConfig]

Chat integration chatbot base class.

__init__() None[source]
configure_logger() None

Configure a standardized logger for this class.

abstract halt() None[source]

Stop the chatbot.

handle_command(command: str) None[source]

Handle a CLI command by name.

Parameters:

command (str) – The chat CLI command to handle.

logging_config_class

alias of JsonLoggerConfigurationArchived

abstract start() None[source]

Start the chatbot.