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