Added on_guild_channel_pins_update event abc

This commit is contained in:
Cora Cordes 2021-11-20 19:10:41 +01:00
parent 76642112ab
commit c9a5f648a2

View File

@ -1,7 +1,12 @@
from abc import ABC, abstractmethod from abc import ABC, abstractmethod
import discord
class OnGuildChannelPinsUpdateABC(ABC): class OnGuildChannelPinsUpdateABC(ABC):
@abstractmethod @abstractmethod
def __init__(self): pass def __init__(self): pass
@abstractmethod
async def on_guild_channel_pins_update(self, channel: discord.abc.GuildChannel, list_pin: Optional[datetime]): pass