This commit is contained in:
deathbybandaid 2019-07-05 09:29:28 -04:00
parent 87e7a34c4a
commit 5a62d40531

View File

@ -204,7 +204,7 @@ class BotRead():
if "example" not in list(dict_from_file.keys()): if "example" not in list(dict_from_file.keys()):
dict_from_file["example"] = "$maincom" dict_from_file["example"] = "$maincom"
# TODO # TODO
#if dict_from_file["comtype"] == "nickname": # if dict_from_file["comtype"] == "nickname":
# dict_from_file["example"] = str(botconfig.nick + " $maincom") # dict_from_file["example"] = str(botconfig.nick + " $maincom")
# else: # else:
# dict_from_file["example"] = str(botconfig.core.prefix_list[0] + "$maincom") # 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()): if "privs" not in list(dict_from_file.keys()):
dict_from_file["privs"] = [] 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 return dict_from_file