BeeBot
BeeBot copied to clipboard
Socket Seems to time out
When I run node BeeBot.js, I get the following error:
/home/pi/Documents/BeeBot/node_modules/ws/lib/WebSocket.js:219
else throw new Error('not opened');
^
Error: not opened
at WebSocket.send (/home/pi/Documents/BeeBot/node_modules/ws/lib/WebSocket.js:219:16)
at InternalClient.sendWS (/home/pi/Documents/BeeBot/node_modules/discord.js/lib/Client/InternalClient.js:1742:19)
at Timeout._onTimeout (/home/pi/Documents/BeeBot/node_modules/discord.js/lib/Client/InternalClient.js:1817:19)
at ontimeout (timers.js:436:11)
at tryOnTimeout (timers.js:300:5)
at listOnTimeout (timers.js:263:5)
at Timer.processTimers (timers.js:223:10)
I am using NodeJS v10.21.0, and I have tried on both Linux and Windows and I get the same error on both devices.