Added on_private_channel_create event abc

This commit is contained in:
Cora Cordes 2021-11-20 19:05:17 +01:00
parent e351b98fe4
commit 4e00da99b5

View File

@ -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