#discord.js v14 action row update

18 messages · Page 1 of 1 (latest)

void socket
#

just wondering what im doing wrong here

wary cipherBOT
#

• 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.

upbeat drift
#

So define ButtonStyle

#

And then use ButtonStyle.Danger and ButtonStyle.Success

void socket
void socket
last drum
#

well what does the error say when you hover over it? or in the problems tab

last drum
#

oh ts I think you need to specify the component type

#

try ActionRowBuilder<ButtonBuilder>

void socket
#

nope

#

doesnt work

last drum
#

I'm not really sure

#

I'll try myself

last drum
#

I don't seem to be having the same problem

#

can you show more of your code?

#

this is what I've got, I get the error if I remove <ButtonBuilder> but with it it's fine