test
This commit is contained in:
parent
460482e680
commit
120372c8cf
@ -14,13 +14,12 @@ def rule_match():
|
||||
returnfunc = True
|
||||
|
||||
if comrun.rulematch:
|
||||
comrun.trigger.dict["trigger_type"]
|
||||
|
||||
if comrun.trigger.dict["trigger_type"] == "command":
|
||||
if comrun.trigger_dict["trigger_type"] == "command":
|
||||
commands_list = sb.commands.valid_sopel_commands
|
||||
elif comrun.trigger.dict["trigger_type"] == "nickname_command":
|
||||
elif comrun.trigger_dict["trigger_type"] == "nickname_command":
|
||||
commands_list = sb.commands.valid_sopel_nickname_commands
|
||||
elif comrun.trigger.dict["trigger_type"] == "action_command":
|
||||
elif comrun.trigger_dict["trigger_type"] == "action_command":
|
||||
commands_list = sb.commands.valid_sopel_action_commands
|
||||
|
||||
if comrun.trigger_dict["trigger_command"] in commands_list:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user