Added on_guild_join event abc
This commit is contained in:
parent
d1740edda0
commit
14d543a587
@ -1,7 +1,11 @@
|
||||
from abc import ABC, abstractmethod
|
||||
import discord
|
||||
|
||||
|
||||
class OnGuildJoinABC(ABC):
|
||||
|
||||
@abstractmethod
|
||||
def __init__(self): pass
|
||||
|
||||
@abstractmethod
|
||||
async def on_guild_join(self, guild: discord.Guild): pass
|
||||
|
Reference in New Issue
Block a user