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

stange bug if(channel._typing.has(user.id)) { TypeError: Cannot read properties of undefined (reading 'has') #55

Open
ReedeB opened this issue Oct 7, 2022 · 1 comment

Comments

@ReedeB
Copy link

ReedeB commented Oct 7, 2022

No description provided.

@ReedeB
Copy link
Author

ReedeB commented Oct 7, 2022

C:\Users\19206\Documents\hypixel-discord-chat-bridge\node_modules\discord.js-light\actions.js:561
if(channel._typing.has(user.id)) {
^

TypeError: Cannot read properties of undefined (reading 'has')
at TypingStart.client.actions.TypingStart.handle (C:\Users\19206\Documents\hypixel-discord-chat-bridge\node_modules\discord.js-light\actions.js:561:22)
at Object.PacketHandlers.TYPING_START (C:\Users\19206\Documents\hypixel-discord-chat-bridge\node_modules\discord.js-light\handlers.js:238:29)
at WebSocketManager.client.ws.handlePacket (C:\Users\19206\Documents\hypixel-discord-chat-bridge\node_modules\discord.js-light\actions.js:38:28)
at WebSocketShard.onPacket (C:\Users\19206\Documents\hypixel-discord-chat-bridge\node_modules\discord.js\src\client\websocket\WebSocketShard.js:444:22)
at WebSocketShard.onMessage (C:\Users\19206\Documents\hypixel-discord-chat-bridge\node_modules\discord.js\src\client\websocket\WebSocketShard.js:301:10)
at WebSocket.onMessage (C:\Users\19206\Documents\hypixel-discord-chat-bridge\node_modules\ws\lib\event-target.js:132:16)
at WebSocket.emit (node:events:527:28)
at Receiver.receiverOnMessage (C:\Users\19206\Documents\hypixel-discord-chat-bridge\node_modules\ws\lib\websocket.js:970:20)
at Receiver.emit (node:events:527:28)
at Receiver.dataMessage (C:\Users\19206\Documents\hypixel-discord-chat-bridge\node_modules\ws\lib\receiver.js:517:14)

This happened at random times and I cant seem to fix it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant