Fetching voice channel from ChatInputCommandInteraction

I need to fetch what voice channel a guildmember is in when executing a slash command. When using message commands i use message.member.voice (assuming the message was created in a guild, this assumption can also be made using the slashcommand in this case) Thank you in advance!
5 Replies
d.js toolkit
d.js toolkit3w ago
d.js docs
d.js docs3w ago
:property: VoiceState#channel discord.js@14.21.0 The channel that the member is connected to
Unknown User
Unknown User3w ago
Message Not Public
Sign In & Join Server To View
MaxTechnics
MaxTechnicsOP3w ago
I see, thank you!
d.js toolkit
d.js toolkit3w ago
The thread owner has marked this issue as solved.

Did you find this page helpful?