#Introduce a timeout on Slash Commands

8 messages · Page 1 of 1 (latest)

rigid sail
#

How would I go about adding a timeout to my slash commands that once the timeout is up, it removed any buttons or select menus from the components? Edit: How would I make it reset/cancel once a button is clicked. Any help would be greatly appreciated, even any guidance in the right direction?

dusty ermine
#

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

rigid sail
#

Discord.JS: v14.6.0

naive gulch
#

setTimeout

#

or if using a collector, use end event

rigid sail
#

Would that end event be in the DJS docs

#

by any chance?

hazy laurelBOT