Skip to content
This repository was archived by the owner on Jul 11, 2024. It is now read-only.

VoiceChannel().Connect() seems to not handle moving channels properly #473

Description

@ImVexed

Describe the bug
1: Connect to a voice channel and start playing audio (in my case calling SendOpusFrame in a loop)
2: Move the bot to a different voice channel
3: Audio stops playing, and no errors are returned

Expected behavior
SendOpusFrame to either return an error to close the voice connection, or, preferably, handle the move to a new channel seamlessly and have SendOpusFrame continue working as expected, just in the new channel.

Error messages
DEBU[0014] [ws-v,s:7,shard:0]discord sent a 4014 websocket code and the bot will now disconnect
But no other errors returned

Desktop (please complete the following information):

  • Golang version: 1.18
  • Using Go modules? yes
  • Disgord version? v0.32.3
  • Connected to the gateway before using REST methods? yes

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions