Added on_group_join event abc
This commit is contained in:
parent
31682f2b83
commit
49ec7ea931
@ -1,7 +1,12 @@
|
|||||||
from abc import ABC, abstractmethod
|
from abc import ABC, abstractmethod
|
||||||
|
import discord
|
||||||
|
|
||||||
|
|
||||||
class OnGroupJoinABC(ABC):
|
class OnGroupJoinABC(ABC):
|
||||||
|
|
||||||
@abstractmethod
|
@abstractmethod
|
||||||
def __init__(self): pass
|
def __init__(self): pass
|
||||||
|
|
||||||
|
@abstractmethod
|
||||||
|
async def on_group_join(
|
||||||
|
self, chhanel: discord.GroupChannel, user: discord.User): pass
|
||||||
|
Reference in New Issue
Block a user