Open rhighs opened 1 year ago
The same happens to me (windows 11 and Linux 5.15.0-25 for VPS) sometimes. I can't figure what causes the issues, but according to the documentation, it is caused by no valid subscription for the player
Node Version : 16.18.0
I am facing the same problem myself.
I was trying to eliminate the AutoStop process itself.
@discordjs/voice/dist/index.js:line 996
I tried comment out the relevant process in
AutoStop is no longer triggered, but the sound is not played.
The same symptom occurs in the end.
Sorry if this is hard to read, I've translated the text.
Same happens to me (discord js version is 13.6.0 and node version is 17.6.0) the songs plays for ~30 seconds and then the state changes in autopaused
Having the same issue, can't play single second of audio without it going into autopaused. The VoiceConnectionStatus.Ready
listener is never fired so I wonder if that has to do with this problem.
Did u add GuildVoiceStates
Intents like
const client = new Client({
intents: [
GatewayIntentBits.Guilds,
GatewayIntentBits.GuildMembers,
GatewayIntentBits.GuildVoiceStates,
],
});
Which package is this bug report for?
voice
Issue description
How to reproduce:
Result: the bot won't start playing any audio, instead debugging the audio player state you'll see it set to autopaused.
Documentation states:
AutoPaused - the state a voice connection will enter when the player has paused itself because there are no active voice connections to play to.
though, it's not the case as you'll see from the code below.However, this has only happened running under arch linux, running on windows gives no issue whatsoever. I thought of a possible compatibility error in the opus bindings, so I tried switching from
discordjs/opus
toopusscript
. Unfortunately it didn't solve the issue.Code sample
Package version
14.6
Node.js version
16.18
Operating system
Arch Linux x86_64
Priority this issue should have
Low (slightly annoying)
Which partials do you have configured?
No Partials
Which gateway intents are you subscribing to?
Guilds, GuildVoiceStates, GuildMessages
I have tested this issue on a development release
No response