when i send a post in a media channel, i get the threadCreated event but not the messageCreate event
the discord API claims you're supposed to get a
messageCreate
event, as the message isn't created at the time the thread is. it's not firing or me at all on [email protected]
and i'm certain my hooks work right. node version is v18.16.1
.5 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!
- ✅
Marked as resolved by OPyou need GuildMessages intent
i do
thread.fetchStarterMessage()
isn't guaranteed to work after threadCreate
is called
but
messageCreate
doesn't fire at all
nvm, solved. my hook was broken