webexmemebot/app/close.py
Luke Tainton 6abb3b871b
Some checks failed
Enforce Conventional Commit PR Title / Validate PR Title (pull_request_target) Successful in 7s
CI / ci (pull_request) Failing after 42s
fix(lint): Fix linting issues
2025-06-06 18:31:41 +01:00

35 lines
1.1 KiB
Python

"""Command module for handling the 'exit' command in the Webex meme bot."""
from webex_bot.models.command import Command
class ExitCommand(Command):
"""Command to handle the 'exit' command in the Webex meme bot."""
def __init__(self) -> None:
"""Initialize the ExitCommand with command keyword and help message."""
super().__init__(
command_keyword="exit",
help_message="Exit",
delete_previous_message=True,
)
self.sender: str = ""
def pre_execute(
self, message, attachment_actions, activity
) -> None: # pylint: disable=unused-argument
"""Pre-execution logic for the exit command."""
return
def execute(
self, message, attachment_actions, activity
) -> None: # pylint: disable=unused-argument
"""Execute the exit command."""
return
def post_execute(
self, message, attachment_actions, activity
) -> None: # pylint: disable=unused-argument
"""Post-execution logic for the exit command."""
return