test
This commit is contained in:
parent
17f9ea1f30
commit
dce89069e9
@ -18,21 +18,7 @@ def prerun():
|
||||
# This will give sopel the appearance of recieving individual commands
|
||||
if comrun.is_multi_command:
|
||||
if len(comrun.commands) > 1:
|
||||
|
||||
# Handling for first command in series
|
||||
if comrun.is_rulematch:
|
||||
print("is_rulematch")
|
||||
if not comrun.is_real_command:
|
||||
print("not is_real_command")
|
||||
sb.commands.dispatch(comrun.command)
|
||||
else:
|
||||
print("is_real_command")
|
||||
else:
|
||||
print("not is_rulematch")
|
||||
sb.commands.dispatch(comrun.command)
|
||||
|
||||
# All other commands
|
||||
for trigger_dict in comrun.commands[1:]:
|
||||
for trigger_dict in comrun.commands:
|
||||
sb.commands.dispatch(trigger_dict)
|
||||
return
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user