Open CallMeYuuuu opened 7 months ago
Check the bot connection code: Check the code responsible for setting up and maintaining the WebSocket connection in your bot. Ensure that errors and retries are handled properly.
Upgrade dependencies: Make sure you are using the latest versions of Discord.js and other relevant dependencies. Older versions may have bugs or compatibility issues that have been fixed in newer versions.
Logging and monitoring: Implement comprehensive logging in your bot to track WebSocket connection status and errors. This allows you to diagnose and troubleshoot problems more effectively. Additionally, consider monitoring tools or services that can alert you to connection issues in real time.
Hello, so I've been using this bot for a couple of months now and discord reset my bots token twice now because it "connected more than 1000 times within a short time period". I don't know why this happens.
This is the only error message I found in the logs and sadly don't know what it means. This error message spam started several hours before discord reset the token.
If you need any more logs or information, please let me know. Thanks!
Bot Version: 5.5.1 Lavalink Version: v3