NEVER have your Python Repls go to sleep again!
You heard that right! This ₜᵢₙᵧ addition to your program allows is it stay alive and running indefinitely.
I wanted to be able to have my discord bot stay awake without the use of external ping programs.
Using a small flask server and some threaded pinging loops.
How do I get started?
neverSleep.py file to your project and paste the following code to the top of your
import neverSleep neverSleep.awake('YOUR AUTO GENERATED WEBSITE URL')
If this gets enough popularity I'll add it to PyPi to make it even easier.
This is not working for me, just added the nebersleep file, imported it to my main py and used the awake method at the top. Someone got the same issue or know a working solution?