Added on_member_ban event abc

This commit is contained in:
Sven Heidemann 2021-11-20 16:47:59 +01:00
parent 4d7c67a3b6
commit 7edef25617

View File

@ -1,7 +1,12 @@
from abc import ABC, abstractmethod from abc import ABC, abstractmethod
import discord
class OnMemberBanABC(ABC): class OnMemberBanABC(ABC):
@abstractmethod @abstractmethod
def __init__(self): pass def __init__(self): pass
@abstractmethod
async def on_member_ban(self, guild: discord.Guild,
user: discord.User): pass