Why do libraries keep uninstalling themselves?
Hi there! I have discord.py bot and it is supposed to check if twitch streamer is live or not every 10 seconds, but in 10 minutes bot stops working (while I host it) and when I start my bot it reinstalls every library. Sometimes bot just stops working because some of the libraries keep uninstalling itself, so bot can't work 24/7. And some libraries like twitchAPI are not included in repl.it ,so I install them via console(shell) and in 10 minutes library uninstalls and I need to install it using console again. So the questions is: how to prevent libraries from uninstalling themselves?
When the bot switches off it restarts which means packages have to install again.
Just add flask to your bot and add uptimerobot to the url and it will stay up 24/7
Libraries are big, so they get deleted.
But they get reinstalled each time you run the repl.