From b429d60bcd64f7ee6855d97cda0e0c9467fe9c2b Mon Sep 17 00:00:00 2001 From: Cora Cordes Date: Sat, 20 Nov 2021 16:53:54 +0100 Subject: [PATCH] Added on_message_delete event ABC --- src/modules_core/abc/events/on_message_delete_abc.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/modules_core/abc/events/on_message_delete_abc.py b/src/modules_core/abc/events/on_message_delete_abc.py index aa95891..57cf30e 100644 --- a/src/modules_core/abc/events/on_message_delete_abc.py +++ b/src/modules_core/abc/events/on_message_delete_abc.py @@ -1,7 +1,11 @@ from abc import ABC, abstractmethod +import discord class OnMessageDeleteABC(ABC): @abstractmethod def __init__(self): pass + + @abstractmethod + async def on_message_delete(self, message: discord.Message): pass \ No newline at end of file