A
A
Apache2021-10-27 20:50:36
In contact with
Apache, 2021-10-27 20:50:36

How to wait for time?

I need the bot to send out timings, but I don't understand how to set the wait. There is no work, because I can not find suitable information in public and api vkbottle.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
M
Mikhail Gamovich, 2021-10-27
@GAMch1k

import time
time.sleep(5) # Секунды

V
Vindicar, 2021-10-27
@Vindicar

What kind of library is used - synchronous or asynchronous? The answer depends very much on these factors.
You can see my answer here .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question