From 4d69250342b58a1a9906126f7b009c245f91d6df Mon Sep 17 00:00:00 2001 From: Sven Heidemann Date: Sat, 20 Nov 2021 19:02:27 +0100 Subject: [PATCH] Added on_guild_role_create event abc --- src/modules_core/abc/events/on_guild_role_create_abc.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/modules_core/abc/events/on_guild_role_create_abc.py b/src/modules_core/abc/events/on_guild_role_create_abc.py index 9a54e26..f828988 100644 --- a/src/modules_core/abc/events/on_guild_role_create_abc.py +++ b/src/modules_core/abc/events/on_guild_role_create_abc.py @@ -1,7 +1,11 @@ from abc import ABC, abstractmethod +import discord class OnGuildRoleCreateABC(ABC): @abstractmethod def __init__(self): pass + + @abstractmethod + async def on_guild_role_create(self, role: discord.Role): pass