voiceState is undefined
Inside of the console.log() I am trying to log the user data of the state's user, but as I try and do that, I get an error saying
Can't read properties of undefined reading 'id'
, yet, When I try and log the voiceState it logs fine.
Am I doing something wrong here?3 Replies
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
It does work when I comment the line with that function. startListener is a function from djs-voice.
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View