0

I want to make bots for discord and anyone help me out of assigning a variable time limits like 5000 ms

19th Jul 2019, 4:51 AM
NIGHT NINJA
NIGHT NINJA - avatar
4 odpowiedzi
+ 1
how about setTimeout ?
19th Jul 2019, 4:56 AM
Taste
Taste - avatar
+ 1
here the function given will be executed after 5000ms var accept = true; setTimeout(function(){ accept=false; }, 5000);
19th Jul 2019, 5:21 AM
Taste
Taste - avatar
0
Yes but I didn't no the code of setatimeout can anyone tell me
19th Jul 2019, 5:15 AM
NIGHT NINJA
NIGHT NINJA - avatar
0
Thanks for the help
19th Jul 2019, 5:21 AM
NIGHT NINJA
NIGHT NINJA - avatar