mirror of
https://github.com/SpiceBot/SpiceBot.git
synced 2026-11-12 14:39:54 -05:00
test
This commit is contained in:
parent
0e12d6f0e0
commit
fc719b6ee0
@ -35,9 +35,11 @@ def prerun(t_command_type='module'):
|
|||||||
for comtype in [trigger_command_type, t_command_type]:
|
for comtype in [trigger_command_type, t_command_type]:
|
||||||
|
|
||||||
if comtype not in list(botcommands.dict["commands"].keys()):
|
if comtype not in list(botcommands.dict["commands"].keys()):
|
||||||
|
bot.say(str(comtype) + " not valid comtype")
|
||||||
return
|
return
|
||||||
|
|
||||||
if trigger_command not in list(botcommands.dict["commands"][comtype].keys()):
|
if trigger_command not in list(botcommands.dict["commands"][comtype].keys()):
|
||||||
|
bot.say(str(trigger_command) + " not in " + str(comtype))
|
||||||
return
|
return
|
||||||
|
|
||||||
# Argsdict Defaults
|
# Argsdict Defaults
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user