-
-
Notifications
You must be signed in to change notification settings - Fork 736
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: Wrong report of AudioClient.ConnectionState #2973
Comments
I am struggling with this one as well, and after having put in some strategic logging, reaching the conclusion, Thought being, I do not necessarily wish to sustain a persistent connection, although perhaps that is how it should be done, I do not know. Rather, might like to connect, atomically, transactionally, do a thing, and disconnect. But again, perhaps that is not a great way of approaching it either. Let's say connection is sustained throughout a given session. Then should be able to do all the usual sorts of inquiries, on guilds, channels text, messages, etc. |
I am at least getting as far as seeing the
Although anything behind the Anything more advanced TL;DR; coming up to speed on things like the modules, services, things of this nature. 🍼 baby steps right 🍖 . |
Okay so the |
Check The Docs
Verify Issue Source
Check your intents
Description
Hello,
When connecting to a voice channel (VoiceChannel.ConnectAsync) and wating for a while (multiple hours), the AudioClient.ConnectionState is not ConnectionState.Connected, but on Discord, I can see that the bot is still connected.
Maybe it's not the right method to check if the bot is connected to a discord voice channel ?
When I read logs, it seems like if the websocket connection is closed there is not log saying "Resumed previous session" this is maybe something to investigate ?
Thank you.
Version
3.15.3
Working Version
No response
Logs
Sample
No response
Packages
Environment
Linux and windows, both the same issue.
The text was updated successfully, but these errors were encountered: