After several hours of operation my bot does not want to launch the radio. Do you have a solution?

player.subscribe(serverQueue.connection);
player.play(resource);


try {
await entersState(player, AudioPlayerStatus.Playing, 7_000);
}
catch(err){
console.error(err)
return serverQueue.textChannel.send({ content: lang("RADIO_PLAYBACK_ERROR", guild.preferredLocale) })
}
player.subscribe(serverQueue.connection);
player.play(resource);


try {
await entersState(player, AudioPlayerStatus.Playing, 7_000);
}
catch(err){
console.error(err)
return serverQueue.textChannel.send({ content: lang("RADIO_PLAYBACK_ERROR", guild.preferredLocale) })
}
2 Replies
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
Bouns
BounsOP3y ago
"@d1scord4cordjs/voice": "^0.11.0", "discord.js": "^14.5.0",
Want results from more Discord servers?
Add your server