Hey there so, I am getting issues with my Discord Bot using discord.js
This is an error I am getting:
2019-09-27T11:02:07.248Z '[ws] Attempted to destroy WebSocket but no connection exists!' (node:417) UnhandledPromiseRejectionWarning: Error: Something took too long to do.
It should log
Bot#1873 is ready, but it isn’t logging that.
It also logs this as a part of the debug:
2019-09-27T11:04:43.896Z 'Authenticated using token TOKEN_WHICH_IS_VALID'
I tried running the
refresh command at the Glitch Console, and resetting the bot token, but none of these helped.