ActionRowBuilder in a new thread
Hello, how can I make an Action rows just after a thread creation ? I would like to moderate them and add after each new thread a row with two buttons ACCEPT / DECLINE.
I'm looking into ActionRowBuilder but I don't know how to send that. is that the correct way to do ? Thanks
(Another question : why the doc is so empty ?? Older docs was better to understand)
12 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.
this is how it should look like
discord.js Guide
Imagine a guide... that explores the many possibilities for your discord.js bot.
Thanks very much . But where did you see in the doc on how to use with send method ?
I already seen this page, but didn't help me on how to use on another context
you mean
<channel>.send({ ... })
?I mean to use components with the channel.send method yes
https://discordjs.guide/popular-topics/threads.html#thread-related-gateway-events
this could also help you
discord.js Guide
Imagine a guide... that explores the many possibilities for your discord.js bot.
This new documentation is a nightmare š®
For exemple, with the older doc, I could see every method to use with the channel class
you dont get how to send messages to channels?
Yes I understand, but I don't see anywhere where I could send components with a message. Now I know that because you explain me, but in the doc I don't see any of that
you can anytime
you can send it when replying to a message, editi g a message, sendimg message to a channel
ok ty