diff --git a/sopel_modules/SpiceBot/Read.py b/sopel_modules/SpiceBot/Read.py index 0b3e33e..79c3ff6 100644 --- a/sopel_modules/SpiceBot/Read.py +++ b/sopel_modules/SpiceBot/Read.py @@ -204,7 +204,7 @@ class BotRead(): if "example" not in list(dict_from_file.keys()): dict_from_file["example"] = "$maincom" # TODO - #if dict_from_file["comtype"] == "nickname": + # if dict_from_file["comtype"] == "nickname": # dict_from_file["example"] = str(botconfig.nick + " $maincom") # else: # dict_from_file["example"] = str(botconfig.core.prefix_list[0] + "$maincom") @@ -220,6 +220,9 @@ class BotRead(): if "privs" not in list(dict_from_file.keys()): dict_from_file["privs"] = [] + if "hardcoded_channel_block" not in list(dict_from_file.keys()): + dict_from_file["hardcoded_channel_block"] = [] + return dict_from_file