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