Added on_member_update event abc
This commit is contained in:
parent
aeef7ed477
commit
2c7755310d
@ -1,7 +1,11 @@
|
|||||||
from abc import ABC, abstractmethod
|
from abc import ABC, abstractmethod
|
||||||
|
import discord
|
||||||
|
|
||||||
|
|
||||||
class OnMemberUpdateABC(ABC):
|
class OnMemberUpdateABC(ABC):
|
||||||
|
|
||||||
@abstractmethod
|
@abstractmethod
|
||||||
def __init__(self): pass
|
def __init__(self): pass
|
||||||
|
|
||||||
|
@abstractmethod
|
||||||
|
async def on_member_update(self, before: discord.Member, after: discord.Member): pass
|
||||||
|
Reference in New Issue
Block a user