Problem with MessageActionRow

I am getting this error with creating a new message action row. I don't know why and I can't find any documentation on MessageActionRows
19 Replies
Unknown User
Unknown Userβ€’3y ago
Message Not Public
Sign In & Join Server To View
monbrey
monbreyβ€’3y ago
That appears to be v13 code you're attempting to use In v14 they are ActionRowBuilder and ButtonBuilder
monbrey
monbreyβ€’3y ago
discord.js Guide
Imagine a guide... that explores the many possibilities for your discord.js bot.
monbrey
monbreyβ€’3y ago
It isn't
π•―π–”π–‰π–”π•Ύπ–Šπ–†π–‘
If I just chnage it to the new ones, is my code fine
monbrey
monbreyβ€’3y ago
The styles would also need changing to ButtonStyle.Secondary etc So that enum will need importing
π•―π–”π–‰π–”π•Ύπ–Šπ–†π–‘
Is there a difference is how you send the rows now?
monbrey
monbreyβ€’3y ago
Shouldnt be, only in creating them
π•―π–”π–‰π–”π•Ύπ–Šπ–†π–‘
I am not receiving the rows when the command is run
monbrey
monbreyβ€’3y ago
Wouldnt it be erroring on the empty content string?
monbrey
monbreyβ€’3y ago
Seems like its not calling the method at all, unless you have code that silently ignores errors somewhere
π•―π–”π–‰π–”π•Ύπ–Šπ–†π–‘
I found it It was a problem with my command handler hadn't updated it to use slash commands
monbrey
monbreyβ€’3y ago
ahh
Want results from more Discord servers?
Add your server