pi_portal.modules.integrations.slack.cli.handler
Slack CLI command handler.
- class pi_portal.modules.integrations.slack.cli.handler.SlackCLICommandHandler(bot)[source]
Slack CLI command handler.
- Parameters:
bot (
SlackBot) – The configured slack bot in use.
- command_restart()[source]
Terminate the bot, and rely on supervisor to restart it.
- Return type:
None
- handle(command_class)[source]
Handle a command class instance.
- Parameters:
command_class (
Type[SlackCommandBase]) – The command class to invoke.- Return type:
None