This commit is contained in:
deathbybandaid 2019-06-25 12:34:24 -04:00
parent 046d9f7be0
commit 77e1260226

View File

@ -34,7 +34,8 @@ def prerun(t_command_type='module'):
return
bot.say(str(trigger_command_type))
for comtype in [trigger_command_type, t_command_type]:
for comtypecheck in [trigger_command_type, t_command_type]:
comtype = eval(comtypecheck)
if comtype not in list(botcommands.dict["commands"].keys()):
bot.say(str(comtype) + " not valid comtype")