thread send message
yo, how can i send a message to a thread id i specified via my discord bot?
6 Replies
- 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!
i think it works like this, but I couldn't run it, it shows undefined
Unknown User•2mo ago
Message Not Public
Sign In & Join Server To View
yea
but undefined error
try logging
thread
It looks like you are missing "guild"
Also, Iam pretty sure its
assuming this is in an interaction u might need to replace "client" with "interaction"
oops 🫣 yeah its atleast the way I do it, thought id suggest it
or is it cuz im calling to interaction ? :facepalm: