pi_portal.modules.integrations.chat.cli.commands.subcommands.uptime_chat_bot.BotUptimeCommand

class pi_portal.modules.integrations.chat.cli.commands.subcommands.uptime_chat_bot.BotUptimeCommand(bot: TypeChatBot)[source]

Bases: ChatProcessUptimeCommandBase

Retrieves uptime for the BOT process.

__init__(bot: TypeChatBot) None
hook_invoker() None

Retrieve process information.

hook_supervisor_exception() None

Re-raise the SupervisorException.

Raises:

supervisor.SupervisorException

invoke() None

Manage the process with error handling.