From 31682f2b83212f164818c7011e380737bfa6e733 Mon Sep 17 00:00:00 2001 From: Sven Heidemann Date: Sat, 20 Nov 2021 16:38:23 +0100 Subject: [PATCH] Added on_group_remove event abc --- src/modules_core/abc/events/on_group_remove_abc.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/modules_core/abc/events/on_group_remove_abc.py b/src/modules_core/abc/events/on_group_remove_abc.py index b4dd22b..dc6fda8 100644 --- a/src/modules_core/abc/events/on_group_remove_abc.py +++ b/src/modules_core/abc/events/on_group_remove_abc.py @@ -1,7 +1,11 @@ from abc import ABC, abstractmethod - +import discord class OnGroupRemoveABC(ABC): @abstractmethod def __init__(self): pass + + @abstractmethod + async def on_group_remove( + self, chhanel: discord.GroupChannel, user: discord.User): pass