31 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.It's components
with an s
💀
thanks
pt 2
how would I add a role to a user?
any ideas?
![method](https://cdn.discordapp.com/emojis/965916906311802930.png)
![guide](https://cdn.discordapp.com/emojis/862626783890636830.png)
reading it
but
i dont get it
Unknown User•17mo ago
Message Not Public
Sign In & Join Server To View
so
im givig the role to the user in the events/interactionCreate
so
Unknown User•17mo ago
Message Not Public
Sign In & Join Server To View
how do i get the button that ives the role?
Unknown User•17mo ago
Message Not Public
Sign In & Join Server To View
ooooooooh
ty
lol
so
Unknown User•17mo ago
Message Not Public
Sign In & Join Server To View
if(buttoninteraction === mybutton)
{
Unknown User•17mo ago
Message Not Public
Sign In & Join Server To View