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