Added on_relationship_add event abc
This commit is contained in:
parent
0730c5f915
commit
89c31c6392
@ -1,7 +1,11 @@
|
|||||||
from abc import ABC, abstractmethod
|
from abc import ABC, abstractmethod
|
||||||
|
import discord
|
||||||
|
|
||||||
class OnRelationshipAddABC(ABC):
|
class OnRelationshipAddABC(ABC):
|
||||||
|
|
||||||
@abstractmethod
|
@abstractmethod
|
||||||
def __init__(self): pass
|
def __init__(self): pass
|
||||||
|
|
||||||
|
@abstractmethod
|
||||||
|
async def on_relationship_add(self, relationship: discord.Relationship): pass
|
||||||
|
|
Reference in New Issue
Block a user