Added on_guild_role_create event abc
This commit is contained in:
parent
b0c75fa651
commit
4d69250342
@ -1,7 +1,11 @@
|
|||||||
from abc import ABC, abstractmethod
|
from abc import ABC, abstractmethod
|
||||||
|
import discord
|
||||||
|
|
||||||
|
|
||||||
class OnGuildRoleCreateABC(ABC):
|
class OnGuildRoleCreateABC(ABC):
|
||||||
|
|
||||||
@abstractmethod
|
@abstractmethod
|
||||||
def __init__(self): pass
|
def __init__(self): pass
|
||||||
|
|
||||||
|
@abstractmethod
|
||||||
|
async def on_guild_role_create(self, role: discord.Role): pass
|
||||||
|
Reference in New Issue
Block a user