diff --git a/sopel_modules/SpiceBot/Commands.py b/sopel_modules/SpiceBot/Commands.py index 11ebcdb..1bd72d3 100644 --- a/sopel_modules/SpiceBot/Commands.py +++ b/sopel_modules/SpiceBot/Commands.py @@ -132,7 +132,7 @@ class BotCommands(): logs.log('SpiceBot_CommandsQuery', "sopel_modules not loaded :" + str(e)) # Extra directories - for directory in botconfig.dict["core"]["extra"]: + for directory in botconfig.config.extra: filepathlisting.append(directory) return filepathlisting