test
This commit is contained in:
parent
3375af0eb0
commit
59041d6a9c
@ -16,12 +16,10 @@ 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:
|
||||
for trigger_dict in comrun.commands:
|
||||
sb.commands.dispatch(trigger_dict)
|
||||
return
|
||||
for trigger_dict in comrun.commands:
|
||||
sb.commands.dispatch(trigger_dict)
|
||||
return
|
||||
|
||||
# If the original trigger is not the same after splits
|
||||
# so we will now redispatch to help get the correct function passed
|
||||
|
||||
Loading…
Reference in New Issue
Block a user