From 3b4b81eba0c6575d70a6f7d255ab692701387427 Mon Sep 17 00:00:00 2001 From: Sven Heidemann Date: Sat, 20 Nov 2021 19:05:23 +0100 Subject: [PATCH] Added on_guild_unavailable event abc --- src/modules_core/abc/events/on_guild_unavailable_abc.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/modules_core/abc/events/on_guild_unavailable_abc.py b/src/modules_core/abc/events/on_guild_unavailable_abc.py index 0064fdf..5666407 100644 --- a/src/modules_core/abc/events/on_guild_unavailable_abc.py +++ b/src/modules_core/abc/events/on_guild_unavailable_abc.py @@ -1,7 +1,11 @@ from abc import ABC, abstractmethod +import discord class OnGuildUnavailableABC(ABC): @abstractmethod def __init__(self): pass + + @abstractmethod + async def on_guild_unavailable(self, guild: discord.Guild): pass