it's me...
it's me...
DIAdiscord.js - Imagine an app
Created by it's me... on 5/3/2024 in #djs-questions
need help
I getting error when users connects in VC to early (Before Embed created and sended in channel) Bot trying to update embed on VoiceStateUpdate, but he can't because emded with member stats creating little longer than VC All works fine when i wait bot message before connect to VC Error
TypeError: Cannot read properties of null (reading 'messageChannelId')
at updateEvent (C:\Users\ыффц\Desktop\bot\src\events\voiceStateUpdate\LFG-Voice.js:46:48)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async updateOrDeleteEvent (C:\Users\ыффц\Desktop\bot\src\events\voiceStateUpdate\LFG-Voice.js:27:5)
at async module.exports (C:\Users\ыффц\Desktop\bot\src\events\voiceStateUpdate\LFG-Voice.js:16:7)
at async Client.<anonymous> (C:\Users\ыффц\Desktop\bot\node_modules\commandkit\dist\index.js:731:33)
TypeError: Cannot read properties of null (reading 'messageChannelId')
at updateEvent (C:\Users\ыффц\Desktop\bot\src\events\voiceStateUpdate\LFG-Voice.js:46:48)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async updateOrDeleteEvent (C:\Users\ыффц\Desktop\bot\src\events\voiceStateUpdate\LFG-Voice.js:27:5)
at async module.exports (C:\Users\ыффц\Desktop\bot\src\events\voiceStateUpdate\LFG-Voice.js:16:7)
at async Client.<anonymous> (C:\Users\ыффц\Desktop\bot\node_modules\commandkit\dist\index.js:731:33)
LFG-Message.js (create embed and VC) https://srcshare.io/6634b10aecdf3ead999ae523 LFG-Voice.js (Update embed on voiceStateUpdate) https://srcshare.io/6634b14cecdf3ead999ae52b
11 replies