From e83982fc2a245915ec95ba6e079fe4eb22d87be4 Mon Sep 17 00:00:00 2001 From: Sven Heidemann Date: Sat, 20 Nov 2021 18:58:35 +0100 Subject: [PATCH] Added on_member_join event abc --- src/modules_core/abc/events/on_member_join_abc.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/modules_core/abc/events/on_member_join_abc.py b/src/modules_core/abc/events/on_member_join_abc.py index 6d45f7a..51036e5 100644 --- a/src/modules_core/abc/events/on_member_join_abc.py +++ b/src/modules_core/abc/events/on_member_join_abc.py @@ -1,7 +1,12 @@ from abc import ABC, abstractmethod +import discord class OnMemberJoinABC(ABC): @abstractmethod def __init__(self): pass + + + @abstractmethod + async def on_member_join(self, member: discord.Member): pass