Closed MitchellAW closed 3 years ago
Currently, FlandersBOT connects to the database using the on_ready() event, this fires multiple times and does not ensure that the db connection is established before querying any tables. The connection needs to be created before the bot connects.
Fixed with: 3aaa566499567baee8802c13b25c2822a9fc7db6 Now ensures db pool connects before bot launches.
Currently, FlandersBOT connects to the database using the on_ready() event, this fires multiple times and does not ensure that the db connection is established before querying any tables. The connection needs to be created before the bot connects.