roboluke-tasks/app/commands/exit.py
Luke Tainton (ltainton) 102b74e90a
Initial
2023-04-05 20:57:31 +01:00

27 lines
636 B
Python

#!/usr/bin/env python3
import logging
from webex_bot.models.command import Command
log: logging.Logger = logging.getLogger(__name__)
class ExitCommand(Command):
def __init__(self) -> None:
super().__init__(
command_keyword="exit",
help_message="Exit",
delete_previous_message=True,
)
self.sender: str = ""
def pre_execute(self, message, attachment_actions, activity) -> None:
pass
def execute(self, message, attachment_actions, activity) -> None:
pass
def post_execute(self, message, attachment_actions, activity) -> None:
pass