Running Bots in the Cloud
Running bots in the background
Credits to discord user
@matha for this question and
@pfj for the solution.
To run an instance in the background on the cloud, run either of the following commands:
screen -S $NAME. Use the latter to be more explicit if you want to run multiple bots.
Then start the bot like normal. To exit the screen, press
To log back into the screen, either use
screen -r $NAME to open a specific instance of your screen. To list all running instances, use