pi_portal.modules.integrations.slack.cli.commands.command_snapshot
Slack CLI Snapshot command.
- class pi_portal.modules.integrations.slack.cli.commands.command_snapshot.SnapshotCommand(bot)[source]
Slack CLI command to take a snapshot with the camera.
- Parameters:
bot (
SlackBot) – The configured slack bot in use.
- hook_invoker()[source]
Check if the camera is available, and then take a snapshot.
- Return type:
None
- hook_supervisor_exception()
Handle a SupervisorException.
- Return type:
None
- invoke()
Manage the process with error handling.
- Return type:
None