19 Replies
d.js toolkit
d.js toolkit6mo 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
HexaaOP6mo ago
horohousu
horohousu6mo ago
?
Hexaa
HexaaOP6mo ago
maybe the message = ... is why its not returning the voice channel
horohousu
horohousu6mo ago
can you elaborate? when did you try to do that
Hexaa
HexaaOP6mo ago
uhm
No description
Hexaa
HexaaOP6mo ago
i'd tried this and its working
No description
Hexaa
HexaaOP6mo 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
HexaaOP6mo 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
HexaaOP6mo 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
HexaaOP6mo ago
aint no way some random bot just send @user play something
Hexaa
HexaaOP6mo ago
but actually i've added that before
No description
Hexaa
HexaaOP6mo ago
its because the clientUser meant is the bot itself
Hexaa
HexaaOP6mo ago
because, of this
No description
Hexaa
HexaaOP6mo ago
the message was replaced to the bot message, not the user message
Want results from more Discord servers?
Add your server