From aeef7ed477b068ccc2ee865460cedbf8bfd7dd6c Mon Sep 17 00:00:00 2001 From: Sven Heidemann Date: Sat, 20 Nov 2021 18:59:02 +0100 Subject: [PATCH] Added on_member_remove event abc --- src/modules_core/abc/events/on_member_remove_abc.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/modules_core/abc/events/on_member_remove_abc.py b/src/modules_core/abc/events/on_member_remove_abc.py index 354f0d4..b24f3d5 100644 --- a/src/modules_core/abc/events/on_member_remove_abc.py +++ b/src/modules_core/abc/events/on_member_remove_abc.py @@ -1,7 +1,11 @@ from abc import ABC, abstractmethod +import discord class OnMemberRemoveABC(ABC): @abstractmethod def __init__(self): pass + + @abstractmethod + async def on_member_remove(self, member: discord.Member): pass