MerfAvenger
MerfAvenger
DIAdiscord.js - Imagine an app
Created by MerfAvenger on 5/21/2024 in #djs-voice
AudioPlayerStatus Stuck in Buffering State
Making another post in djs-voice after being directed here by another member I have a bot that can play Audio and has successfully done so for the last while. I have two instances with their own Apps, a test bot and one run on a cloud server. Both are running the following discord dependencies:
"@discordjs/builders": "^1.8.1",
"@discordjs/voice": "^0.17.0",
"discord.js": "^14.15.2"
"@discordjs/builders": "^1.8.1",
"@discordjs/voice": "^0.17.0",
"discord.js": "^14.15.2"
npm list: discord.js@14.15.2 -> .\node_modules\.pnpm\discord.js@14.15.2\node_modules\discord.js Node LIVE: 20.8.0 20.13.1 Node TEST: 20.11.1 Recently, the live bot running on the cloud server has stopped working. After debugging this for a while, I've determined that it seems to be getting stuck in the "Buffering" AudioPlayerStatus. Oddly, despite running the exact same code, the test bot does not get stuck in this state. The only things left are the server/host machine (and the live server has also been operating just fine up until recently) and the discord App for the bot itself. Does anyone have any extra information that might shed some light? Will happily share some more details if anyone lets me know relevant things missing from the post.
17 replies
DIAdiscord.js - Imagine an app
Created by MerfAvenger on 5/20/2024 in #djs-questions
AudioPlayer Stuck in Buffering Status
I have a bot that can play Audio and has successfully done so for the last while. I have two instances with their own Apps, a test bot and one run on a cloud server. Both are running the following discord dependencies:
"@discordjs/builders": "^1.8.1",
"@discordjs/voice": "^0.17.0",
"discord.js": "^14.15.2"
"@discordjs/builders": "^1.8.1",
"@discordjs/voice": "^0.17.0",
"discord.js": "^14.15.2"
npm list: discord.js@14.15.2 -> .\node_modules\.pnpm\discord.js@14.15.2\node_modules\discord.js Node LIVE: 20.8.0 20.13.1 Node TEST: 20.11.1 Recently, the live bot running on the cloud server has stopped working. After debugging this for a while, I've determined that it seems to be getting stuck in the "Buffering" AudioPlayerStatus. Oddly, despite running the exact same code, the test bot does not get stuck in this state. The only things left are the server/host machine (and the live server has also been operating just fine up until recently) and the discord App for the bot itself. Does anyone have any extra information that might shed some light? Will happily share some more details if anyone lets me know relevant things missing from the post.
5 replies