Retreiving thread by it's name & it's tags
Hi Im back with one question, is there any reliable/suggested way to retreive specific thread titles by their exact name and it's contents? I haven't worked much with threads, same as tags, can I retreive it's tags?
4 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 OP:event: (event) Client#threadCreate
@14.16.1
Emitted whenever a thread is created or when the client user is added to a thread.#appliedTags are the tags that the thread has (array of IDs)
to resolve them to name you will have to look at the #availableTags of its #parent (the forum)
-# sidenote: threads can also be created in regular text channels, and will then of course not have tags and the parent won't have available tags
Okay thanks