© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
Fetching voice channel from ChatInputCommandInteraction - discord.js - Imagine an app
d-Iaa
discord.js - Imagine an app
•
8mo ago
•
5 replies
MaxTechnics
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
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
!
discord.js - Imagine an app
Join
Support server for discord.js, a Node.js module to interact with Discord's apps API.
57,693
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
When can ChatInputCommandInteraction.channel be null?
d-Iaa
discord.js - Imagine an app / djs-questions
4y ago