Get Voice channel

Hi, How can I get the voice channel the user is currently on when the user sends a text message?
6 Replies
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
CanineData
CanineData2y ago
<GuildMember>.voice.channel
Waxer59
Waxer592y ago
I'm going to try But I am using the "MessageCreate" event and "voice" does not exist inside the response json, is there any discordjs option to get the current voice channel where the user is by his id?
CanineData
CanineData2y ago
You can get the member that sent the message with message.member
Waxer59
Waxer592y ago
that solved my problem ty
CanineData
CanineData2y ago
yw