From f033eeaf87e468f07922106c574d5a081d1379c7 Mon Sep 17 00:00:00 2001 From: Sven Heidemann Date: Sat, 20 Nov 2021 19:05:50 +0100 Subject: [PATCH] Added on_voice_state_update event abc --- src/modules_core/abc/events/on_voice_state_update_abc.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/modules_core/abc/events/on_voice_state_update_abc.py b/src/modules_core/abc/events/on_voice_state_update_abc.py index 266f962..60d586f 100644 --- a/src/modules_core/abc/events/on_voice_state_update_abc.py +++ b/src/modules_core/abc/events/on_voice_state_update_abc.py @@ -1,7 +1,11 @@ from abc import ABC, abstractmethod +import discord class OnVoiceStateUpdateABC(ABC): @abstractmethod def __init__(self): pass + + @abstractmethod + async def on_voice_state_update(self, member: discord.Member, before: discord.VoiceState,after: discord.VoiceState): pass