From 4d7c67a3b6550530499688531abc5aa4c3595314 Mon Sep 17 00:00:00 2001 From: Sven Heidemann Date: Sat, 20 Nov 2021 16:42:12 +0100 Subject: [PATCH] Added on_member_unban event abc --- src/modules_core/abc/events/on_member_unban_abc.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/modules_core/abc/events/on_member_unban_abc.py b/src/modules_core/abc/events/on_member_unban_abc.py index f81359c..c5bbb8c 100644 --- a/src/modules_core/abc/events/on_member_unban_abc.py +++ b/src/modules_core/abc/events/on_member_unban_abc.py @@ -1,7 +1,11 @@ from abc import ABC, abstractmethod +import discord class OnMemberUnbanABC(ABC): @abstractmethod def __init__(self): pass + + @abstractmethod + async def on_member_unban(self, guild: discord.Guild, user: discord.User): pass