#Button to welcome a User

26 messages · Page 1 of 1 (latest)

limber oasis
#

• 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.

pastel snow
#

i dont have any code yet

dull aspen
#

What discord.js version are you on?

pastel snow
#

v13

dull aspen
#

Exact version please

#

npm ls discord.js

pastel snow
#

13.6.0

#

Should i update it?

dull aspen
#

yeah update it

pastel snow
#

so but then i still don't know how to do it

dull aspen
#

🤔 sounds like that built-in discord feature

pastel snow
#

yea

#

this but like in the bot

dull aspen
#

just put their user id in the button custom id, fetch them on click, and use whatever data you need from there

pastel snow
#

bro, I don't rlly know how to do this in code

#

can you help me there a bit more so ik how to put the id in the custom id but how i do the interaction custom id

dull aspen
#

interaction.customId

pastel snow
#

Bro you don't understand me ig

#

So if I do like Set the button custom id to the id of the User and the I have an interaction create Event how do I specify it to the button so how do I get it

#

When the custom id isn't a specified value

#

@dull aspen ?

dull aspen
#

I don't understand what you mean

#

Could you elaborate?

pastel snow
#

Yea wait a sec

pastel snow
#

so i made some code but it's not even working

#

@dull aspen