pi_portal.modules.integrations.slack.bot
Pi Portal Slack Bolt bot.
- class pi_portal.modules.integrations.slack.bot.SlackBot[source]
Slack bot.
- configure_logger()
Configure a standardized logger for this class.
- Return type:
None
- handle_command(command)[source]
Handle a CLI command by name.
- Parameters:
command (
str) – The Slack CLI command to handle.- Return type:
None
- handle_event(event)[source]
Validate a bot message bound for this Slack Bot’s channel.
- Parameters:
event (
TypeSlackBoltEvent) – An unvalidated Slack Bot message event.- Return type:
None