BaseMessageOptions#components does not take Builders
Hey everyone, so I've just downloaded djs 14.7.0 and i'm migrating my bot.
I used to have a few
.send({ components: [myComp] })
, where myComp
was the equivalent of what is now a Builder. So now i've updated it to a builder, but it is no longer accepted by TypeScript. A few examples:
How can I solve this?
Calling .data or .toJSON() does not solve the issue
Thanks!Solution:Jump to solution
Found it, my action rows need to have a generic set, i cannot use the broad ActionRowBuilder.
3 Replies