From 49ec7ea9319220703ff01e7bbdbdd2332df2f59d Mon Sep 17 00:00:00 2001 From: Sven Heidemann Date: Sat, 20 Nov 2021 16:39:15 +0100 Subject: [PATCH] Added on_group_join event abc --- src/modules_core/abc/events/on_group_join_abc.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/modules_core/abc/events/on_group_join_abc.py b/src/modules_core/abc/events/on_group_join_abc.py index 0ab53db..e0b3aaa 100644 --- a/src/modules_core/abc/events/on_group_join_abc.py +++ b/src/modules_core/abc/events/on_group_join_abc.py @@ -1,7 +1,12 @@ from abc import ABC, abstractmethod +import discord class OnGroupJoinABC(ABC): @abstractmethod def __init__(self): pass + + @abstractmethod + async def on_group_join( + self, chhanel: discord.GroupChannel, user: discord.User): pass