Browse Source

discord/voice_client.py expects the VoiceConnectionState to have a loop attribute, but it is missing

pull/10223/head
Avleen Vig 1 week ago
parent
commit
7327f873a8
  1. 1
      discord/voice_state.py

1
discord/voice_state.py

@ -208,6 +208,7 @@ class VoiceConnectionState:
self.mode: SupportedModes = MISSING
self.socket: socket.socket = MISSING
self.ws: DiscordVoiceWebSocket = MISSING
self.loop: asyncio.AbstractEventLoop = None
self._state: ConnectionFlowState = ConnectionFlowState.disconnected
self._expecting_disconnect: bool = False

Loading…
Cancel
Save