Skip to content

Commit 1a4e767

Browse files
committed
fix: Set passthrough 120 bc that's what davey usage docs suggest
1 parent bdba6a4 commit 1a4e767

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

discord/voice/gateway.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@
3535
from typing import TYPE_CHECKING, Any
3636

3737
import aiohttp
38-
import davey
3938

39+
import davey
4040
from discord import utils
4141
from discord.enums import SpeakingState
4242
from discord.errors import ConnectionClosed
@@ -235,7 +235,7 @@ async def received_message(self, msg: Any, /) -> None:
235235
await state.execute_dave_transition(data["transition_id"])
236236
else:
237237
if data["protocol_version"] == 0 and state.dave_session:
238-
state.dave_session.set_passthrough_mode(True, 10)
238+
state.dave_session.set_passthrough_mode(True, 120)
239239
await self.send_dave_transition_ready(transition_id)
240240
elif op == OpCodes.dave_execute_transition:
241241
_log.info(

0 commit comments

Comments
 (0)