mirror of
https://github.com/SpiceBot/SpiceBot.git
synced 2026-11-10 21:50:59 -05:00
fix config
This commit is contained in:
parent
c8a27a75ac
commit
737d948a2b
@ -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()
|
||||
|
||||
@ -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])
|
||||
|
||||
Loading…
Reference in New Issue
Block a user