Added delete_message to ABC

This commit is contained in:
Sven Heidemann 2021-11-16 20:19:47 +01:00
parent 81499ef8e6
commit c254114987

View File

@ -12,7 +12,10 @@ class MessageServiceABC(ABC):
def __init__(self): pass def __init__(self): pass
@abstractmethod @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 @abstractmethod
async def send_channel_message(self, channel: discord.TextChannel, message: str): pass async def send_channel_message(self, channel: discord.TextChannel, message: str): pass