How to Create Threads?
I dont get how to create threads programmatically. Please help
Solution:Jump to solution
Ever considered reading a guide? https://discordjs.guide/popular-topics/threads.html#creating-and-deleting-threads
discord.js Guide
Imagine a guide... that explores the many possibilities for your discord.js bot.
17 Replies
@Helpers
@Moderators
Please only ping the roles if its been a while after you sent the message and you haven't received a response
Moderators are not meant to be pinged for support issues
Also you're not using the correct types for your method
For starters you probably wanted to use Message not MessagePayload
Also would help if you reported the errors you received
I did not got any errors. the compiler is already messing with my code
that is how it looks now
You do, since those squiggly lines under the things report issues
Tells you the error
You don't provide type there
Also
Well yeah that's all
could u send me what to do
I dont find any good documentation to that topic
The error is pretty clear
For message you need to provide a string, or message options
Like you would for .send
(Also, nothing of this is Sapphire related, this is all Discord.js)
okay yeah I don't know how I can fix my code. I just want to create a thread in my forum channel
Solution
Ever considered reading a guide? https://discordjs.guide/popular-topics/threads.html#creating-and-deleting-threads
discord.js Guide
Imagine a guide... that explores the many possibilities for your discord.js bot.