test
This commit is contained in:
parent
3ad69fb64f
commit
9d86ab9fe8
@ -18,10 +18,13 @@ def prerun():
|
||||
# This will give sopel the appearance of recieving individual commands
|
||||
if comrun.is_multi_command:
|
||||
if not comrun.is_rulematch:
|
||||
print("not a rule match")
|
||||
sb.commands.dispatch(comrun.command)
|
||||
elif comrun.is_rulematch:
|
||||
# if comrun.is_real_command:
|
||||
print("is a rule match")
|
||||
# if not comrun.is_real_command:
|
||||
if comrun.has_command_been_sanitized:
|
||||
print("has been sanitized")
|
||||
sb.commands.dispatch(comrun.command)
|
||||
for trigger_dict in comrun.commands[1:]:
|
||||
sb.commands.dispatch(trigger_dict)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user