You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
const message = channel._cacheMessage(new Message(channel, data, client));
^
TypeError: channel._cacheMessage is not a function at MessageCreateAction.handle (/usr/lib/node_modules/discord-irc/node_modules/discord.js/src/client/actions/MessageCreate.js:31:33)
at MessageCreateHandler.handle (/usr/lib/node_modules/discord-irc/node_modules/discord.js/src/client/websocket/packets/handlers/MessageCreate.js:8:51) at WebSocketPacketManager.handle (/usr/lib/node_modules/discord-irc/node_modules/discord.js/src/client/websocket/packets/WebSocketPacketManager.js:105:65)
at WebSocketConnection.onPacket (/usr/lib/node_modules/discord-irc/node_modules/discord.js/src/client/websocket/WebSocketConnection.js:333:35)
at WebSocketConnection.onMessage (/usr/lib/node_modules/discord-irc/node_modules/discord.js/src/client/websocket/WebSocketConnection.js:296:17)
at WebSocket.onMessage (/usr/lib/node_modules/discord-irc/node_modules/ws/lib/event-target.js:120:16)
at WebSocket.emit (node:events:513:28)
at Receiver.receiverOnMessage (/usr/lib/node_modules/discord-irc/node_modules/ws/lib/websocket.js:789:20)
at Receiver.emit (node:events:513:28)
at Receiver.dataMessage (/usr/lib/node_modules/discord-irc/node_modules/ws/lib/receiver.js:422:14)```
The text was updated successfully, but these errors were encountered:
I applied the "fix* and it still crashes but with a new error
message = channel.messages.get(data.id);
^
TypeError: Cannot read properties of undefined (reading 'get')
at MessageDeleteAction.handle (/usr/lib/node_modules/discord-irc/node_modules/discord.js/src/client/actions/MessageDelete.js:15:34)
at MessageDeleteHandler.handle (/usr/lib/node_modules/discord-irc/node_modules/discord.js/src/client/websocket/packets/handlers/MessageDelete.js:8:51) at WebSocketPacketManager.handle (/usr/lib/node_modules/discord-irc/node_modules/discord.js/src/client/websocket/packets/WebSocketPacketManager.js:105:65)
at WebSocketConnection.onPacket (/usr/lib/node_modules/discord-irc/node_modules/discord.js/src/client/websocket/WebSocketConnection.js:333:35)
at WebSocketConnection.onMessage (/usr/lib/node_modules/discord-irc/node_modules/discord.js/src/client/websocket/WebSocketConnection.js:296:17)
at WebSocket.onMessage (/usr/lib/node_modules/discord-irc/node_modules/ws/lib/event-target.js:120:16)
at WebSocket.emit (node:events:513:28)
at Receiver.receiverOnMessage (/usr/lib/node_modules/discord-irc/node_modules/ws/lib/websocket.js:789:20)
at Receiver.emit (node:events:513:28)
at Receiver.dataMessage (/usr/lib/node_modules/discord-irc/node_modules/ws/lib/receiver.js:422:14)```
Can anyone look into this?
The text was updated successfully, but these errors were encountered: