How to make the bot perform something every 10 mins?

How to make the bot do something every 10 min, such as updating the channel name, as a user counter
3 Replies
d.js toolkit
d.js toolkit9mo ago
- What's your exact discord.js npm list discord.js and node node -v version? - Not a discord.js issue? Check out #other-js-ts. - Consider reading #how-to-get-help to improve your question! - Explain what exactly your issue is. - Post the full error stack trace, not just the top part! - Show your code! - Issue solved? Press the button!
d.js docs
d.js docs9mo ago
Ratelimits are dynamically assigned by the API based on current load and may change at any point. - The scale from okay to API-spam is sliding and depends heavily on the action you are taking - Rainbow roles, clock and counter channels, and DM'ing advertisements to all members are all examples of things that are not okay
Yoqurt
Yoqurt9mo ago
I can't undestand I can't make a counter? Just like other bots have it but mee6 have it Okay let's skip this topic because my goal is not to create a counter I gave it as an example. I would like to write in the code to have the bot add some coins for the user to the database every hour. And I don't know how to perform such an action ok