My discord.py bot always loses connection to my MySQL database on Heroku My discord.py bot always loses connection to my MySQL database on Heroku heroku heroku

My discord.py bot always loses connection to my MySQL database on Heroku


It's me again.. Turns out I figured out where my error came from, I did a lot of tests, only to realize that I stupidly forgot to close the connection at the end of my commands, and to reconnect it when a new one was written...

So I wanted to apologize for this completely unnecessary question, and to thank those who have seen it and who may have sought to help me.

(If you have any other suggestion to make, I will gladly take them!)

Bye!