#Persistent Buttons and Dropdowns

12 messages · Page 1 of 1 (latest)

modern roost
#

I'm transitioning from using discord.py to discord.js and one thing I'm having trouble figuring out how to get setup is persistent buttons that don't expire, and last between bot restarts. I've looked through the guide and a little bit through the docs, and I can't seem to find what I'm looking for.

magic nimbus
#

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

echo jay
#

Use the interactionCreate event

limpid boughBOT
modern roost
fallen saddle
#

Yes

#

You can check the ID of the button by doing interaction.customId

gaunt parrot
modern roost
gaunt parrot
modern roost
#

Okay, thank you all for the help!