resave brain after reload

This commit is contained in:
deathbybandaid 2019-05-31 21:38:10 -04:00
parent 2338a6ef01
commit ce059bb3e1

View File

@ -32,6 +32,7 @@ class SpiceBot_AI():
if os.path.isfile(botconfig.config.aibrain):
self.aiml_kernel.bootstrap(brainFile=botconfig.config.aibrain)
self.aiml_kernel.respond("LOAD AIML B")
self.save_brain()
else:
import sopel_modules
for plugin_dir in set(sopel_modules.__path__):