From 8461d793deffc8c1bb33bddff4db7a7c7eb34165 Mon Sep 17 00:00:00 2001 From: Cora Cordes Date: Sat, 20 Nov 2021 16:19:18 +0100 Subject: [PATCH] Added on_connect ABC --- src/modules_core/abc/events/on_connect_abc.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/modules_core/abc/events/on_connect_abc.py b/src/modules_core/abc/events/on_connect_abc.py index 0210c46..96d1909 100644 --- a/src/modules_core/abc/events/on_connect_abc.py +++ b/src/modules_core/abc/events/on_connect_abc.py @@ -5,3 +5,6 @@ class OnConnectABC(ABC): @abstractmethod def __init__(self): pass + + @abstractmethod + async def on_connect(self): pass