mirror of
https://github.com/SpiceBot/SpiceBot.git
synced 2026-11-10 21:50:59 -05:00
resave brain after reload
This commit is contained in:
parent
2338a6ef01
commit
ce059bb3e1
@ -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__):
|
||||
|
||||
Loading…
Reference in New Issue
Block a user