© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
How to know if a slash command is executed in a thread|post or in a channel ? - discord.js - Imagine an app
d-Iaa
discord.js - Imagine an app
•
4y ago
•
6 replies
Apokalypt
How to know if a slash command is executed in a thread|post or in a channel ?
Hi
,
I don
't understand how to check if the ChatInputInteraction was executed on a channel or a thread since there is no
"threadId
" property
.
Does anyone could help me please
?
discord.js - Imagine an app
Join
Support server for discord.js, a Node.js module to interact with Discord's apps API.
57,739
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
How to delete a slash command
d-Iaa
discord.js - Imagine an app / djs-questions
3y ago