A-0.1 - Modularer Aufbau #13
@ -1,7 +1,11 @@
|
|||||||
from abc import ABC, abstractmethod
|
from abc import ABC, abstractmethod
|
||||||
|
import discord
|
||||||
|
|
||||||
|
|
||||||
class OnMemberUpdateABC(ABC):
|
class OnMemberUpdateABC(ABC):
|
||||||
|
|
||||||
@abstractmethod
|
@abstractmethod
|
||||||
def __init__(self): pass
|
def __init__(self): pass
|
||||||
|
|
||||||
|
@abstractmethod
|
||||||
|
async def on_member_update(self, before: discord.Member, after: discord.Member): pass
|
||||||
|
Reference in New Issue
Block a user