R
R
reCAPTCHA2019-12-02 21:14:22
JavaScript
reCAPTCHA, 2019-12-02 21:14:22

How to make a timer with a number output?

I saw that some bots in VK have some timers that display a number. Let's say you write "Hi", and he writes to you that he will answer "hello" in 5 seconds and when you try to write something, it will display how much is left to wait, for example 2 seconds. I really need to know how this is implemented and if third-party libraries are used there. Thanks in advance for your reply!
javascript, nodejs

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question