-
Notifications
You must be signed in to change notification settings - Fork 79
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
Cannot read properties of undefined (reading 'map') #77
Comments
did you find a solution ? |
no i don't |
Fixed it by replacing the old file to this one: https://github.com/aiko-chan-ai/discord.js-selfbot-v13/blob/3ec6bf45fba5cfcde4c70062302d68bfa5ef4cf6/src/managers/ClientUserSettingManager.js |
How do you go about doing this? I have the same issue as KARONAGAMING at the moment |
`➜ Discord-Screenshare git:(master) ✗ docker build . [+] Building 3.0s (21/21) FINISHED
|
I'm not sure if this will fix your issue but when I had this problem, I edited the Dockerfile and added: |
THANK YOU IT WORKED FINALLY |
/Discord-Screenshare/node_modules/discord.js-selfbot-v13/src/managers/ClientUserSettingManager.js:135
const data_ = data.guild_positions.map((guildId, i) => {
^
TypeError: Cannot read properties of undefined (reading 'map')
at ClientUserSettingManager._patch (/Discord-Screenshare/node_modules/discord.js-selfbot-v13/src/managers/ClientUserSettingManager.js:135:42)
at Object.module.exports [as READY] (/Discord-Screenshare/node_modules/discord.js-selfbot-v13/src/client/websocket/handlers/READY.js:82:18)
at WebSocketManager.handlePacket (/Discord-Screenshare/node_modules/discord.js-selfbot-v13/src/client/websocket/WebSocketManager.js:346:31)
at WebSocketShard.onPacket (/Discord-Screenshare/node_modules/discord.js-selfbot-v13/src/client/websocket/WebSocketShard.js:478:22)
at WebSocketShard.onMessage (/Discord-Screenshare/node_modules/discord.js-selfbot-v13/src/client/websocket/WebSocketShard.js:317:10)
at WebSocket.onMessage (/Discord-Screenshare/node_modules/ws/lib/event-target.js:199:18)
at WebSocket.emit (node:events:527:28)
at Receiver.receiverOnMessage (/Discord-Screenshare/node_modules/ws/lib/websocket.js:1169:20)
at Receiver.emit (node:events:527:28)
at Receiver.dataMessage (/Discord-Screenshare/node_modules/ws/lib/receiver.js:528:14)
Node.js v17.9.0
error Command failed with exit code 1.
The text was updated successfully, but these errors were encountered: