This commit is contained in:
Luke Tainton (ltainton)
2023-04-05 20:57:31 +01:00
parent be6546e4cc
commit 102b74e90a
21 changed files with 409 additions and 13 deletions

26
app/commands/exit.py Normal file
View File

@ -0,0 +1,26 @@
#!/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