mirror of
https://github.com/SpiceBot/SpiceBot.git
synced 2026-11-13 15:09:54 -05:00
add
This commit is contained in:
parent
87e7a34c4a
commit
5a62d40531
@ -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
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user