webexmemebot/app/close.py

21 lines
551 B
Python
Raw Permalink Normal View History

2023-07-21 23:57:14 +02:00
from webex_bot.models.command import Command
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:
return
def execute(self, message, attachment_actions, activity) -> None:
return
def post_execute(self, message, attachment_actions, activity) -> None:
return