This repository has been archived by the owner on Aug 16, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 7
bot times out after a few seconds when !troll (person) is ran #5
Comments
Explanation:
By implementing these changes, your bot should be able to handle voice connections more robustly and avoid common issues such as timeouts and disconnections. Code:
|
ty for the updated code, but it seems like it throws an error with
|
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
C:\Users\somet\Downloads\discord-interrupter-main\node_modules\discord.js\src\client\voice\VoiceConnection.js:303
this.emit('error', new Error(reason));
^
Error [VOICE_CONNECTION_TIMEOUT]: Connection not established within 15 seconds.
at VoiceConnection.authenticateFailed (C:\Users\somet\Downloads\discord-interrupter-main\node_modules\discord.js\src\client\voice\VoiceConnection.js:303:26)
at C:\Users\somet\Downloads\discord-interrupter-main\node_modules\discord.js\src\client\voice\VoiceConnection.js:324:61
at Timeout. (C:\Users\somet\Downloads\discord-interrupter-main\node_modules\discord.js\src\client\BaseClient.js:83:7)
at listOnTimeout (node:internal/timers:569:17)
at process.processTimers (node:internal/timers:512:7) {
[Symbol(code)]: 'VOICE_CONNECTION_TIMEOUT'
}
The text was updated successfully, but these errors were encountered: