How can I make a discordpy bot update/restart itself without stopping the Flask server
SpaceFire (115)

I want to make a command something like [prefix]restart so that my bot doesn't go offline with every little update I make.

You are viewing a single comment. View All
leon332157 (217)

Just make 2 different threads one handles the bot restart another one handles the bot itself.