terminal-discord
terminal-discord copied to clipboard
TypeError exception after leaving idle for a while
Left it open for a while, suddenly this happened:
>/usr/local/lib/node_modules/terminal-discord/node_modules/discord.js/src/client/actions/ChannelUpdate.js:42
const newChannel = new channelClass(channel.guild, data);
^
TypeError: channelClass is not a constructor
at ChannelUpdateAction.handle (/usr/local/lib/node_modules/terminal-discord/node_modules/discord.js/src/client/actions/ChannelUpdate.js:42:28)
at ChannelUpdateHandler.handle (/usr/local/lib/node_modules/terminal-discord/node_modules/discord.js/src/client/websocket/packets/handlers/ChannelUpdate.js:7:34)
at WebSocketPacketManager.handle (/usr/local/lib/node_modules/terminal-discord/node_modules/discord.js/src/client/websocket/packets/WebSocketPacketManager.js:105:65)
at WebSocketConnection.onPacket (/usr/local/lib/node_modules/terminal-discord/node_modules/discord.js/src/client/websocket/WebSocketConnection.js:333:35)
at WebSocketConnection.onMessage (/usr/local/lib/node_modules/terminal-discord/node_modules/discord.js/src/client/websocket/WebSocketConnection.js:296:17)
at WebSocket.onMessage (/usr/local/lib/node_modules/terminal-discord/node_modules/ws/lib/event-target.js:120:16)
at WebSocket.emit (events.js:188:13)
at Receiver.receiverOnMessage (/usr/local/lib/node_modules/terminal-discord/node_modules/ws/lib/websocket.js:789:20)
at Receiver.emit (events.js:188:13)
at Receiver.dataMessage (/usr/local/lib/node_modules/terminal-discord/node_modules/ws/lib/receiver.js:422:14)
I checked the audit log of the cord I was in and nothing happened meanwhile. Not sure what caused it.