ActionRowBuilder not working properly
I basically follow the guide with buttons but for some reason it throws an error. (see picture) Let me know if I did something wrong.
Error:
8 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.im using djs v14.0.3 and node v17.9.0
i just updated to the latest version of djs and still the same problem
ok
nvm
im dumb and should've read the whole page of the guide
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
Type your row as
ActionRowBuilder<MessageActionRowComponentBuilder>
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
You can also use the specific builder like
new ActionRowBuilder<ButtonBuilder>
if you want less characters unless you're using both buttons and select menus in the same rowUnknown User•3y ago
Message Not Public
Sign In & Join Server To View