Skip to content
This repository was archived by the owner on Apr 5, 2025. It is now read-only.

Commit 821cb0e

Browse files
committed
Fix channel moving of bot
Only allow voice_server updates to dispatch.
1 parent 810373b commit 821cb0e

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

wavelink/player.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,6 @@ async def on_voice_state_update(self, data: Dict[str, Any]) -> None:
167167
return
168168

169169
self.channel = self.guild.get_channel(int(channel_id)) # type: ignore
170-
await self._dispatch_voice_update({**self._voice_state, "event": data})
171170

172171
async def _dispatch_voice_update(self, voice_state: Dict[str, Any]) -> None:
173172
logger.debug(f"Dispatching voice update:: {self.channel.id}")

0 commit comments

Comments
 (0)