From 7edef25617b002909ef41d8cdcc0afa6458c9afd Mon Sep 17 00:00:00 2001 From: Sven Heidemann Date: Sat, 20 Nov 2021 16:47:59 +0100 Subject: [PATCH] Added on_member_ban event abc --- src/modules_core/abc/events/on_member_ban_abc.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/modules_core/abc/events/on_member_ban_abc.py b/src/modules_core/abc/events/on_member_ban_abc.py index 253e399..4410fad 100644 --- a/src/modules_core/abc/events/on_member_ban_abc.py +++ b/src/modules_core/abc/events/on_member_ban_abc.py @@ -1,7 +1,12 @@ from abc import ABC, abstractmethod +import discord class OnMemberBanABC(ABC): @abstractmethod def __init__(self): pass + + @abstractmethod + async def on_member_ban(self, guild: discord.Guild, + user: discord.User): pass