diff --git a/sopel_modules/SpiceBot/Config.py b/sopel_modules/SpiceBot/Config.py index 498a4b8..98ab88e 100644 --- a/sopel_modules/SpiceBot/Config.py +++ b/sopel_modules/SpiceBot/Config.py @@ -32,7 +32,7 @@ class BotConfig(): self.config.core.logs_raw = os.path.join(self.config.core.logdir, 'raw.log') # self.config.core.logs_raw = os.path.os.path.join(self.config.core.logdir, self.config.basename + '.raw.log') - self.config.aibrain = os.path.join(self.config.homedir, self.config.basename + 'aibrain.brn') + self.config.aibrain = os.path.join(self.config.homedir, self.config.basename + '.aibrain.brn') # load as dict config = configparser.ConfigParser() diff --git a/sopel_modules/SpiceBot/setup.py b/sopel_modules/SpiceBot/setup.py index ebc20f2..dda0c16 100644 --- a/sopel_modules/SpiceBot/setup.py +++ b/sopel_modules/SpiceBot/setup.py @@ -55,7 +55,7 @@ def setup(bot): bot.config.core.logs_raw = os.path.join(bot.config.core.logdir, 'raw.log') # bot.config.core.logs_raw = os.path.os.path.join(bot.config.core.logdir, bot.config.basename + '.raw.log') - bot.config.aibrain = os.path.join(bot.config.homedir, 'aibrain.brn') + bot.config.aibrain = os.path.join(bot.config.homedir, bot.config.basename + '.aibrain.brn') logs.log('SpiceBot_Channels', "Setting Up Configuration") events.startup_add([events.BOT_CHANNELS])