mirror of
https://github.com/SpiceBot/SpiceBot.git
synced 2026-11-10 21:50:59 -05:00
test
This commit is contained in:
parent
046d9f7be0
commit
77e1260226
@ -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")
|
||||
|
||||
Loading…
Reference in New Issue
Block a user