From c9a5f648a2f318c880a590c70dc37c2d249375ab Mon Sep 17 00:00:00 2001 From: Cora Cordes Date: Sat, 20 Nov 2021 19:10:41 +0100 Subject: [PATCH] Added on_guild_channel_pins_update event abc --- .../abc/events/on_guild_channel_pins_update_abc.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/modules_core/abc/events/on_guild_channel_pins_update_abc.py b/src/modules_core/abc/events/on_guild_channel_pins_update_abc.py index 4dcbcb3..010e82f 100644 --- a/src/modules_core/abc/events/on_guild_channel_pins_update_abc.py +++ b/src/modules_core/abc/events/on_guild_channel_pins_update_abc.py @@ -1,7 +1,12 @@ from abc import ABC, abstractmethod +import discord class OnGuildChannelPinsUpdateABC(ABC): @abstractmethod def __init__(self): pass + + @abstractmethod + async def on_guild_channel_pins_update(self, channel: discord.abc.GuildChannel, list_pin: Optional[datetime]): pass +