From b903ec54343fe81571323ccd82fbdf910fb8eb7e Mon Sep 17 00:00:00 2001 From: Cora Cordes Date: Sat, 20 Nov 2021 18:54:59 +0100 Subject: [PATCH] Added on_message_edit event abc --- src/modules_core/abc/events/on_message_edit_abc.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/modules_core/abc/events/on_message_edit_abc.py b/src/modules_core/abc/events/on_message_edit_abc.py index c786869..b8d4df8 100644 --- a/src/modules_core/abc/events/on_message_edit_abc.py +++ b/src/modules_core/abc/events/on_message_edit_abc.py @@ -1,7 +1,11 @@ from abc import ABC, abstractmethod +import discord class OnMessageEditABC(ABC): @abstractmethod def __init__(self): pass + + @abstractmethod + async def on_message_edit(self, before: discord.Message, after: discord.Message): pass