Added on_guild_update event abc
This commit is contained in:
parent
4176db9f91
commit
b0c75fa651
@ -1,7 +1,11 @@
|
|||||||
from abc import ABC, abstractmethod
|
from abc import ABC, abstractmethod
|
||||||
|
import discord
|
||||||
|
|
||||||
|
|
||||||
class OnGuildUpdateABC(ABC):
|
class OnGuildUpdateABC(ABC):
|
||||||
|
|
||||||
@abstractmethod
|
@abstractmethod
|
||||||
def __init__(self): pass
|
def __init__(self): pass
|
||||||
|
|
||||||
|
@abstractmethod
|
||||||
|
async def on_guild_update(self, before: discord.Guild, after: discord.Guild): pass
|
||||||
|
Reference in New Issue
Block a user