Added on_message_edit event abc

This commit is contained in:
Cora Cordes 2021-11-20 18:54:59 +01:00
parent 81bf7b6250
commit b903ec5434

View File

@ -1,7 +1,11 @@
from abc import ABC, abstractmethod from abc import ABC, abstractmethod
import discord
class OnMessageEditABC(ABC): class OnMessageEditABC(ABC):
@abstractmethod @abstractmethod
def __init__(self): pass def __init__(self): pass
@abstractmethod
async def on_message_edit(self, before: discord.Message, after: discord.Message): pass