Added on_guild_role_update event abc
This commit is contained in:
parent
463456711d
commit
a2e52e473c
@ -1,7 +1,11 @@
|
|||||||
from abc import ABC, abstractmethod
|
from abc import ABC, abstractmethod
|
||||||
|
import discord
|
||||||
|
|
||||||
|
|
||||||
class OnGuildRoleUpdateABC(ABC):
|
class OnGuildRoleUpdateABC(ABC):
|
||||||
|
|
||||||
@abstractmethod
|
@abstractmethod
|
||||||
def __init__(self): pass
|
def __init__(self): pass
|
||||||
|
|
||||||
|
@abstractmethod
|
||||||
|
async def on_guild_role_update(self, before: discord.Role, after: discord.Role): pass
|
||||||
|
Reference in New Issue
Block a user