it to send a message every 2 seconds. how should i write it?
You have no reason to put create_task(logger()) inside that while loop. make another while loop in logger() function, and create_task to it at first line of main()
Awwkay... I've been thinking on this for 20 minutes, guess it's time for sleep 😂 Thanks
Обсуждают сегодня