Added on_voice_state_update event abc
This commit is contained in:
parent
3b4b81eba0
commit
f033eeaf87
@ -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
|
||||||
|
Reference in New Issue
Block a user