johnmaguire / Cardinal

A Python IRC bot, designed to make adding functionality quick and simple. (est. 2013)
MIT License
100 stars 38 forks source link

Cardinal state isn't persistent across reconnections #178

Open johnmaguire opened 3 years ago

johnmaguire commented 3 years ago

When Cardinal disconnects from the server and reconnects, a new instance of CardinalBot is created. The new instance has stale data from the configuration file originally read when Cardinal was brought online. This means if, after Cardinal connects, any plugins were loaded that aren't in the configuration file, or were added to the configuration file, are not loaded. Same for channels, etc.