This commit is contained in:
deathbybandaid 2019-06-20 15:16:47 -04:00
parent e2d04adcdc
commit 1e4e244701

View File

@ -39,7 +39,10 @@ class BotJSONCommands():
for dict_from_file in list(self.valid_dictcom_dict.keys()):
dict_from_file["comtype"] = "prefix"
try:
dict_from_file["comtype"] = "prefix"
except Exception as e:
sys.stderr(str(dict_from_file))
# default command to filename
if "validcoms" not in list(dict_from_file.keys()):