Added on_message_edit event abc
This commit is contained in:
parent
81bf7b6250
commit
b903ec5434
@ -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
|
||||||
|
Reference in New Issue
Block a user