Answer the question
In order to leave comments, you need to log in
How to make a second timer?
I'm making my Discord bot and there's a countdown (20 seconds). I call the asyncio.sleep(1) function and change the value. A simple print() prints like this (at the end of the program runtime):
I have no idea what will happen if you send the results to the Internet. Making the delay less is not an option, because the result is either 20.8, or 20.4, and the like. How to fix?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question