bug: await VoiceClient.disconnect()
raise OSError: [WinError 10038]
when passing a str that represent a non file-like object
#9039
Labels
unconfirmed bug
A bug report that needs triaging
Summary
When using a FFmpegPCMAudio audio source with a source that represent a non file-like object (e.g a url) and when disconnecting from a
VoiceChannel
you get anOSError
. This bug was found while trying to test moreReproduction Steps
Connect to a
VoiceChannel
Start playing something using
FFmpegPCMAudio
as audio source with asource
that does't represent a file-like objectDisconnect from the
VoiceChannel
usingawait VoiceClient.disconnect()
Minimal Reproducible Code
Expected Results
The bot should disconnect from the VoiceChannel succesfully without raising any error
Actual Results
Intents
Irrelevants
System Information
Checklist
Additional Context
This PR is a duplicate of
await VoiceClient.disconnect()
raiseOSError: [WinError 10038]
when passing a str that represent a non file-like object DisnakeDev/disnake#846The text was updated successfully, but these errors were encountered: