From 426772910f1ea0c6885709700f0522ce097b6ec5 Mon Sep 17 00:00:00 2001 From: Sven Heidemann Date: Sat, 20 Nov 2021 16:41:29 +0100 Subject: [PATCH] Added on_invite_create event abc --- src/modules_core/abc/events/on_invite_create_abc.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/modules_core/abc/events/on_invite_create_abc.py b/src/modules_core/abc/events/on_invite_create_abc.py index ba227a6..ce4e2e0 100644 --- a/src/modules_core/abc/events/on_invite_create_abc.py +++ b/src/modules_core/abc/events/on_invite_create_abc.py @@ -1,7 +1,12 @@ from abc import ABC, abstractmethod +import discord class OnInviteCreateABC(ABC): @abstractmethod def __init__(self): pass + + @abstractmethod + async def on_invite_create(self, invite: discord.Invite): pass + \ No newline at end of file