Added on_private_channel_create event abc
This commit is contained in:
parent
e351b98fe4
commit
4e00da99b5
@ -1,7 +1,12 @@
|
|||||||
from abc import ABC, abstractmethod
|
from abc import ABC, abstractmethod
|
||||||
|
import discord
|
||||||
|
|
||||||
|
|
||||||
class OnPrivateChannelCreateABC(ABC):
|
class OnPrivateChannelCreateABC(ABC):
|
||||||
|
|
||||||
@abstractmethod
|
@abstractmethod
|
||||||
def __init__(self): pass
|
def __init__(self): pass
|
||||||
|
|
||||||
|
@abstractmethod
|
||||||
|
async def on_private_channel_create(self, channel: discord.abc.PrivateChannel): pass
|
||||||
|
|
Reference in New Issue
Block a user