This commit is contained in:
deathbybandaid 2022-02-24 10:38:27 -05:00
parent 17f9ea1f30
commit dce89069e9

View File

@ -18,21 +18,7 @@ def prerun():
# This will give sopel the appearance of recieving individual commands # This will give sopel the appearance of recieving individual commands
if comrun.is_multi_command: if comrun.is_multi_command:
if len(comrun.commands) > 1: if len(comrun.commands) > 1:
for trigger_dict in comrun.commands:
# 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:]:
sb.commands.dispatch(trigger_dict) sb.commands.dispatch(trigger_dict)
return return