Added on_voice_state_update event abc

This commit is contained in:
Sven Heidemann 2021-11-20 19:05:50 +01:00
parent 3b4b81eba0
commit f033eeaf87

View File

@ -1,7 +1,11 @@
from abc import ABC, abstractmethod from abc import ABC, abstractmethod
import discord
class OnVoiceStateUpdateABC(ABC): class OnVoiceStateUpdateABC(ABC):
@abstractmethod @abstractmethod
def __init__(self): pass def __init__(self): pass
@abstractmethod
async def on_voice_state_update(self, member: discord.Member, before: discord.VoiceState,after: discord.VoiceState): pass