#how to make timelock command

6 messages · Page 1 of 1 (latest)

minor plover
#

i want to make like if no one use the command for 12h the command will auto run.

fast lakeBOT
#

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

lean tulip
#

Then use a cron job and check when the last time it was used was and if it’s too long ago call the function from there. Need to store the timestamp when it ran on every run of the command of course

lean tulip
#

In a variable, in a DB, your choice