Restart Repl Command for Discord
I made a discord bot using python.
Currently i set up uptimerobot to make the bot alive.
I wanted a command that restarts the repl when i type that command because streaming audio on a repl that is awake for a long time gives bad/choppy audio
How can i do it?
Is there a way to restart the repl without visiting the repl?
Voters
CosmicBear
No. But what you could do is set up a new file that runs the code in a different file and have that new file re-run the bot.
io212b75
@CosmicBear How?
Use client.stop