Where can I find the options for creating a thread?
this guide page https://discordjs.guide/popular-topics/threads.html#thread-related-gateway-events
has
When i look up this method: https://discord.js.org/#/docs/discord.js/14.8.0/class/GuildTextThreadManager?scrollTo=create
then click "thread create options", it brings me to this page: https://discord.js.org/#/docs/discord.js/14.8.0/typedef/ThreadCreateOptions
but this only lists "startMessage", "type", "invitable"
Where are the other options? Where am I supposed to look? What did I do wrong?
4 Replies
• What's your exact discord.js
npm list discord.js
and node node -v
version?
• Post the full error stack trace, not just the top part!
• Show your code!
• Explain what exactly your issue is.
• Not a discord.js issue? Check out #useful-servers.In the ThreadCreateOptions there’s additional params on the StartThreadOptions linked on that page
oh okay, i see them now. completely confused as to how "StartThreadOptions" and "ThreadCreateOptions" are different though... or why it's collapsed or hidden on another page... makes the docs much harder to understand...
They’re split because there are other uses for StartThreadOptions where ThreadCreateOptions do not apply