#how can i fix it
1 messages · Page 1 of 1 (latest)
I might be wrong, but the code in the error is not even the code in the first codeblock
yes right, error occurs in the module
....node_modules@discordjs\voice\dist\index.js:8
error location
.joinVoiceChannel might return a promise, so you have to await it before using .subscribe()
i delete '.subscribe()', but i still get this error
Ids are strings
oww
sheeesh
i get this error now
guildId: channel.guild.id,
^
TypeError: Cannot read properties of undefined (reading 'guild')
The channel might not be in the cache
hmm
Channel should've be on cache
Does using .fetch fixes or not the problem? Logging the channel object for us would be also useful
no not fixing problem
🤦