A-0.1 - Modularer Aufbau #13
@ -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
|
||||||
|
Reference in New Issue
Block a user