-
Notifications
You must be signed in to change notification settings - Fork 115
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
Crash when voice connection is lost. #66
Comments
Is this a recurring issue? Kinda sounds like you lost connection to the voice servers. But I suppose an error like this shouldn't crash the bot. |
Its on my server computer which is connected 24/7 via ethernet and none of my other servers lost connection, so I assume its bot related. To be safe, I will wait another couple of days and see if it happens again and then I will report back here. |
Ah probably I didn't explain myself correctly, I didn't mean your server losing connection but losing the link between your server and discord. Could be the discord voice server went out for a bit. |
Should that cause a crash? If so, is there any possibility in the future of developing a function that catches the error and then attempts to reconnect the bot every few seconds? |
I think this should not cause a crash, indeed. I'm going to update this bot once I have some free time to discord.js13, it should have a much better behavior when using voice so hopefully this would be fixed with just an update. |
Let me change the title of the issue to something a bit more relevant. |
Just wanted to add onto this since I'm also experiencing this with my bot - I am using the latest version of Discord.js and Discord.js/voice and no attempts have been made by them to fix this issue. My bot crashes every few days and it's very annoying. I suspect that since my router resets every few days automatically, that's what's causing the issue. |
got a fix? |
Not yet. 😭 |
all good, im also having a problerm where it disconnects if i leave, and sometimes it says its playing music and i cant hear anything (idk how to do logs) |
🐛 Describe the Bug
✏️ Steps to Reproduce
😕 Expected Behavior
📜 Log
📷 Screenshots
❓ Other Information
The text was updated successfully, but these errors were encountered: