19 Replies
d.js toolkit
d.js toolkit5mo ago
- What's your exact discord.js npm list discord.js and node node -v version? - Not a discord.js issue? Check out #other-js-ts. - Consider reading #how-to-get-help to improve your question! - Explain what exactly your issue is. - Post the full error stack trace, not just the top part! - Show your code! - Issue solved? Press the button! - Marked as resolved by OP
Hexaa
HexaaOP5mo ago
horohousu
horohousu5mo ago
?
Hexaa
HexaaOP5mo ago
maybe the message = ... is why its not returning the voice channel
horohousu
horohousu5mo ago
can you elaborate? when did you try to do that
Hexaa
HexaaOP5mo ago
uhm
No description
Hexaa
HexaaOP5mo ago
i'd tried this and its working
No description
Hexaa
HexaaOP5mo ago
stupid code makes stupid error
xx_lavaboy_xx123
i think message.member is the bot because it sends replies to ur message and when u logged message.member earlier bot was true add if (message.author.bot) return; at the top of messageCreate
Hexaa
HexaaOP5mo ago
it is, i'm not realizing it the message meant in the message.member is getting the bot's voice channel, not the user one because of the message = await message.reply(...)
xx_lavaboy_xx123
what is clientVC for then its gonna be the same vc
Hexaa
HexaaOP5mo ago
its just checking if the author and the bots are in the same vc or not its having the .me
xx_lavaboy_xx123
if the author is the bot then they're obviously gonna return the same channel
Hexaa
HexaaOP5mo ago
aint no way some random bot just send @user play something
Hexaa
HexaaOP5mo ago
but actually i've added that before
No description
Hexaa
HexaaOP5mo ago
its because the clientUser meant is the bot itself
Hexaa
HexaaOP5mo ago
because, of this
No description
Hexaa
HexaaOP5mo ago
the message was replaced to the bot message, not the user message
Want results from more Discord servers?
Add your server