how do i fix this error which i have no idea of the why its here?

No description
14 Replies
d.js toolkit
d.js toolkit4mo 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!
gummi
gummiOP4mo ago
No description
Mark
Mark4mo ago
You can't delete a message more than once
Retro
Retro4mo ago
setInternval means execute on interval (loop)
Mark
Mark4mo ago
In the future, please show the full error including stack, not just the message
Retro
Retro4mo ago
i think youre looking for setTimeout which means wait x ms
gummi
gummiOP4mo ago
oh well, i think thats it yeah why cant it just be called wait() :firSad:
d.js docs
d.js docs4mo ago
:node: Timers Promises API The timers/promises API provides an alternative set of timer functions that return Promise objects.
Mark
Mark4mo ago
Require setTimeout from there and then define a wait variable as it
gummi
gummiOP4mo ago
ill check in a bit if it works, ty no way mark rober whenever i run the wait() the functions below it keep running right? like it doesnt waits for it to end before running
Retro
Retro4mo ago
Elaborate, send your code
gummi
gummiOP4mo ago
like part 1 of code setTimeout(() => {},) part 2 of the code the part 2 of the code will wait for the setTimeout to run out? or will it run right after part 1?
Retro
Retro4mo ago
No. If you want that, refer to what mark said
gummi
gummiOP4mo ago
dont really want that :firHappy: thx

Did you find this page helpful?