Skip to content

Commit

Permalink
don't reconnect on voice gateway close 4006
Browse files Browse the repository at this point in the history
  • Loading branch information
topi314 committed Nov 16, 2023
1 parent 5a54830 commit 9c25ac8
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,6 @@ protected void onClose(int code, @Nullable String reason, boolean remote) {
case 1001: // Going away or CloudFlare WebSocket proxy restarting
case 1006: // Abnormal closure
case 4000: // Internal error
case 4006: // Session no longer valid
case 4015: // Voice server crashed
case 4900: // Koe: Reconnect
connectFuture = new CompletableFuture<>();
Expand Down

0 comments on commit 9c25ac8

Please sign in to comment.