From 2c7755310d0c0e8ed04680116fb65ef0b17287ce Mon Sep 17 00:00:00 2001 From: Sven Heidemann Date: Sat, 20 Nov 2021 18:59:35 +0100 Subject: [PATCH] Added on_member_update event abc --- src/modules_core/abc/events/on_member_update_abc.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/modules_core/abc/events/on_member_update_abc.py b/src/modules_core/abc/events/on_member_update_abc.py index fc71ec5..6ca11df 100644 --- a/src/modules_core/abc/events/on_member_update_abc.py +++ b/src/modules_core/abc/events/on_member_update_abc.py @@ -1,7 +1,11 @@ from abc import ABC, abstractmethod +import discord class OnMemberUpdateABC(ABC): @abstractmethod def __init__(self): pass + + @abstractmethod + async def on_member_update(self, before: discord.Member, after: discord.Member): pass