How do you make it like send a message every 24 hours?
set a timer for 24 hours that sends a request
What would be the code to do that? Sorry I am not very experienced at this.
In JavaScript, you can use the setInterval method to run some code repeatedly. Check out the documentation: developer.mozilla.org/en-US/docs/W...
setInterval
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
How do you make it like send a message every 24 hours?
set a timer for 24 hours that sends a request
What would be the code to do that?
Sorry I am not very experienced at this.
In JavaScript, you can use the
setInterval
method to run some code repeatedly.Check out the documentation: developer.mozilla.org/en-US/docs/W...