From 9cbc589d627a025957294baf0cf551be249ea280 Mon Sep 17 00:00:00 2001 From: Sven Heidemann Date: Sat, 20 Nov 2021 19:04:21 +0100 Subject: [PATCH] Added on_guild_emojis_update event abc --- src/modules_core/abc/events/on_guild_emojis_update_abc.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/modules_core/abc/events/on_guild_emojis_update_abc.py b/src/modules_core/abc/events/on_guild_emojis_update_abc.py index fe716ac..40a3247 100644 --- a/src/modules_core/abc/events/on_guild_emojis_update_abc.py +++ b/src/modules_core/abc/events/on_guild_emojis_update_abc.py @@ -1,7 +1,12 @@ from abc import ABC, abstractmethod +from typing import Sequence +import discord class OnGuildEmojisUpdateABC(ABC): @abstractmethod def __init__(self): pass + + @abstractmethod + async def on_guild_emojis_update(self, guild: discord.Guild, before: Sequence[discord.Emoji], after: Sequence[discord.Emoji]): pass