Added on_member_join event abc

This commit is contained in:
Sven Heidemann 2021-11-20 18:58:35 +01:00
parent 67696bc63c
commit e83982fc2a

View File

@ -1,7 +1,12 @@
from abc import ABC, abstractmethod from abc import ABC, abstractmethod
import discord
class OnMemberJoinABC(ABC): class OnMemberJoinABC(ABC):
@abstractmethod @abstractmethod
def __init__(self): pass def __init__(self): pass
@abstractmethod
async def on_member_join(self, member: discord.Member): pass