From a2e52e473c6e61da8fd0bcbdc121e694af8f02cd Mon Sep 17 00:00:00 2001 From: Sven Heidemann Date: Sat, 20 Nov 2021 19:03:31 +0100 Subject: [PATCH] Added on_guild_role_update event abc --- src/modules_core/abc/events/on_guild_role_update_abc.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/modules_core/abc/events/on_guild_role_update_abc.py b/src/modules_core/abc/events/on_guild_role_update_abc.py index d5678ac..905efb5 100644 --- a/src/modules_core/abc/events/on_guild_role_update_abc.py +++ b/src/modules_core/abc/events/on_guild_role_update_abc.py @@ -1,7 +1,11 @@ from abc import ABC, abstractmethod +import discord class OnGuildRoleUpdateABC(ABC): @abstractmethod def __init__(self): pass + + @abstractmethod + async def on_guild_role_update(self, before: discord.Role, after: discord.Role): pass