Added on_invite_create event abc
This commit is contained in:
parent
04179ce906
commit
426772910f
@ -1,7 +1,12 @@
|
|||||||
from abc import ABC, abstractmethod
|
from abc import ABC, abstractmethod
|
||||||
|
import discord
|
||||||
|
|
||||||
|
|
||||||
class OnInviteCreateABC(ABC):
|
class OnInviteCreateABC(ABC):
|
||||||
|
|
||||||
@abstractmethod
|
@abstractmethod
|
||||||
def __init__(self): pass
|
def __init__(self): pass
|
||||||
|
|
||||||
|
@abstractmethod
|
||||||
|
async def on_invite_create(self, invite: discord.Invite): pass
|
||||||
|
|
Reference in New Issue
Block a user