From c254114987b53fbecb2b3acc92440e0ac64b99bb Mon Sep 17 00:00:00 2001 From: Sven Heidemann Date: Tue, 16 Nov 2021 20:19:47 +0100 Subject: [PATCH] Added delete_message to ABC --- src/gismo_core/abc/message_service_abc.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/gismo_core/abc/message_service_abc.py b/src/gismo_core/abc/message_service_abc.py index 5c0ab65..1b91937 100644 --- a/src/gismo_core/abc/message_service_abc.py +++ b/src/gismo_core/abc/message_service_abc.py @@ -12,7 +12,10 @@ class MessageServiceABC(ABC): def __init__(self): pass @abstractmethod - async def delete_message(self, messages: List[discord.Message]): pass + async def delete_messages(self, messages: List[discord.Message]): pass + + @abstractmethod + async def delete_message(self, message: discord.Message): pass @abstractmethod async def send_channel_message(self, channel: discord.TextChannel, message: str): pass