Search
Get Started
d-I❄
discord.js - Imagine ❄
•
3y ago
Yoqurt
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
discord.js - Imagine ❄
Join
Support server for discord.js, a Node.js module to interact with Discord's apps API.
58,353
Members
View on Discord
Was this page helpful?
Yes
No
D
d.js toolkit
•
9/16/23, 10:11 AM
What
's your exact discord
.js
npm list discord.js
npm list discord.js
and node
node -v
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
d.js docs
APP
•
9/16/23, 10:13 AM
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
Original message was deleted
Y
Yoqurt
OP
•
9/16/23, 10:54 AM
I can
't undestand I can
't make a counter
?
Y
Yoqurt
OP
•
9/16/23, 10:54 AM
Just like other bots have it
Original message was deleted
Y
Yoqurt
OP
•
9/16/23, 10:55 AM
but mee6 have it
Original message was deleted
Y
Yoqurt
OP
•
9/16/23, 10:57 AM
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
.
Y
Yoqurt
OP
•
9/16/23, 10:58 AM
And I don
't know how to perform such an action
Y
Yoqurt
OP
•
9/16/23, 10:58 AM
ok