test
This commit is contained in:
parent
e5a5f4a886
commit
79b75e0521
@ -16,13 +16,17 @@ def prerun():
|
||||
# Since there was more than one command,
|
||||
# we are going to redispatch commands
|
||||
# This will give sopel the appearance of recieving individual commands
|
||||
print(comrun.commands)
|
||||
if comrun.is_multi_command:
|
||||
if len(comrun.commands) > 1:
|
||||
|
||||
# Handling for first command in series
|
||||
if comrun.is_rulematch:
|
||||
if not comrun.is_real_command:
|
||||
sb.commands.dispatch(comrun.command)
|
||||
else:
|
||||
sb.commands.dispatch(comrun.command)
|
||||
|
||||
# All other commands
|
||||
for trigger_dict in comrun.commands[1:]:
|
||||
sb.commands.dispatch(trigger_dict)
|
||||
return
|
||||
|
||||
Loading…
Reference in New Issue
Block a user