Error: WebSocket was closed before the connection was established
at WebSocket.close (/home/trojaner/Code/Web/TrojanerBot/node_modules/ws/lib/websocket.j
s:285:14)
at WebSocketShard.destroy (/home/trojaner/Code/Web/TrojanerBot/node_modules/discord.js/
src/client/websocket/WebSocketShard.js:728:27)
at Timeout.<anonymous> (/home/trojaner/Code/Web/TrojanerBot/node_modules/discord.js/src
/client/websocket/WebSocketShard.js:522:12)
at listOnTimeout (node:internal/timers:559:17)
at processTimers (node:internal/timers:502:7)
Emitted 'error' event on WebSocket instance at:
at emitErrorAndClose (/home/trojaner/Code/Web/TrojanerBot/node_modules/ws/lib/websocket
.js:984:13)
at processTicksAndRejections (node:internal/process/task_queues:83:21)
Possibly bumping the discord.js version might fix that?
Possibly bumping the discord.js version might fix that?