pi_portal.modules.integrations.chat.slack.bot.SlackBot
- class pi_portal.modules.integrations.chat.slack.bot.SlackBot[source]
Bases:
ChatBotBase[TypeUserConfigChatSlack]Slack implementation of a chatbot.
- configure_logger() None
Configure a standardized logger for this class.
- handle_command(command: str) None
Handle a CLI command by name.
- Parameters:
command (str) – The chat CLI command to handle.
- handle_event(event: TypeSlackBoltEvent) None[source]
Validate a bot message bound for this Slack Bot’s channel.
- Parameters:
event (TypeSlackBoltEvent) – An unvalidated Slack Bot message event.
- logging_config_class
alias of
JsonLoggerConfigurationArchived