Added on_relationship_update event abc
This commit is contained in:
parent
baa86b75e7
commit
d99cec79b9
@ -1,7 +1,12 @@
|
|||||||
from abc import ABC, abstractmethod
|
from abc import ABC, abstractmethod
|
||||||
|
import discord
|
||||||
|
|
||||||
|
|
||||||
class OnRelationshipUpdateABC(ABC):
|
class OnRelationshipUpdateABC(ABC):
|
||||||
|
|
||||||
@abstractmethod
|
@abstractmethod
|
||||||
def __init__(self): pass
|
def __init__(self): pass
|
||||||
|
|
||||||
|
@abstractmethod
|
||||||
|
async def on_relationship_update(
|
||||||
|
self, before: discord.Relationship, after: discord.Relationship): pass
|
||||||
|
Reference in New Issue
Block a user