Skip to content

Fix constant attempts to reconnect after a voice kick

Created by: WamWooWam

Summary

Fixes a bug where VoiceNext will continually attempt to reconnect if kicked from the voice channel by Discord, causing hundreds of invalid session errors.

Details

This PR adds a check to ensure we're actually supposed to be resuming before trying to reconnect the WebSocket.

Changes proposed

  • See Above

Notes

A Disconnected event probably wouldn't go amiss here, but I felt that was out of the scope of this simple bugfix.

Merge request reports

Loading