How to do an action in a slash command after a specific amount of time.

This command adds a role to a user, i want the bot to remove this role from the member after 2mins, how do i do?
3 Replies
d.js toolkit
d.js toolkit2y 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. - Issue solved? Press the button!
ifml
ifml2y ago
setTimeout()
Massicraft
MassicraftOP2y ago
Thanks
Want results from more Discord servers?
Add your server