Webhook send channelId option

Is it possible to parse a channel ID on the webhook.send method for it to send to a thread rather than it sending to it's origin channel?
6 Replies
d.js toolkit
d.js toolkit11mo 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
Dummi
DummiOP11mo ago
- d.js 14.14.1 - Not really an issue, just wondering if it is possible - I think my question is clear... - Explained above - There is no error stack trace :) - There is no need for code - Once again it isn't an issue!
Toast
Toast11mo ago
.send() has an option to send to a thread channel I believe.
Dummi
DummiOP11mo ago
What would this option be called? I can't find it in the docs nor the guide. It does show the edit option on a webhook on the guide
d.js docs
d.js docs11mo ago
:interface: WebhookMessageCreateOptions Options that can be passed into send.
Dummi
DummiOP11mo ago
Thanks!
Want results from more Discord servers?
Add your server