Error when creating a button and a menu through a function
Hello, I get this error: ,
this is my code:
6 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.Node: v18.15.0 Discord.js: 14.11.0
How are you sending the rows?
(also,
ActionRowBuilder#addOptions()
shouldn't work)
createMenu()
is an async
function which means it returns a Promise and must be await
edoh okey
that was it thank you