Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: Cannot read properties of undefined (reading 'cache') #270

Open
bgv2 opened this issue May 4, 2022 · 0 comments
Open

TypeError: Cannot read properties of undefined (reading 'cache') #270

bgv2 opened this issue May 4, 2022 · 0 comments
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@bgv2
Copy link
Member

bgv2 commented May 4, 2022

This error keeps crashing the bot

TypeError: Cannot read properties of undefined (reading 'cache')
    at MessageCreateAction.handle (/app/node_modules/discord.js/src/client/actions/MessageCreate.js:11:41)
    at Object.module.exports [as MESSAGE_CREATE] (/app/node_modules/discord.js/src/client/websocket/handlers/MESSAGE_CREATE.js:4:32)
    at WebSocketManager.handlePacket (/app/node_modules/discord.js/src/client/websocket/WebSocketManager.js:384:31)
    at WebSocketShard.onPacket (/app/node_modules/discord.js/src/client/websocket/WebSocketShard.js:444:22)
    at WebSocketShard.onMessage (/app/node_modules/discord.js/src/client/websocket/WebSocketShard.js:301:10)
    at WebSocket.onMessage (/app/node_modules/ws/lib/event-target.js:132:16)
    at WebSocket.emit (node:events:527:28)
    at Receiver.receiverOnMessage (/app/node_modules/ws/lib/websocket.js:834:20)
    at Receiver.emit (node:events:527:28)
    at Receiver.dataMessage (/app/node_modules/ws/lib/receiver.js:437:14)

May be related to the bot version

@bgv2 bgv2 added bug Something isn't working help wanted Extra attention is needed labels May 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant