how do you update a button?

how do you update a button after creating it?
4 Replies
d.js docs
d.js docs2y ago
• 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.
TheRealGodSpeedy
discord.js v14 node 18.0.0
MrMythical
MrMythical2y ago
ButtonBuilder.from(button), you can use stuff like setStyle() on this
TheRealGodSpeedy
wait how do you use set style on it?