test
This commit is contained in:
parent
6d9e7a0769
commit
570e0b0605
@ -16,15 +16,11 @@ 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)
|
||||
print("stuff below")
|
||||
if len(comrun.commands) > 1:
|
||||
for trigger_dict in comrun.commands:
|
||||
print(trigger_dict)
|
||||
if comrun.is_rulematch:
|
||||
if not sb.commands.is_real_command(trigger_dict):
|
||||
sb.commands.dispatch(trigger_dict)
|
||||
else:
|
||||
if not sb.commands.is_real_command(comrun.command):
|
||||
sb.commands.dispatch(comrun.command)
|
||||
for trigger_dict in comrun.commands[1:]:
|
||||
sb.commands.dispatch(trigger_dict)
|
||||
return
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user