(ctx, replies, show_reply=False)
| 14 | |
| 15 | |
| 16 | def _say_remote_command_reply(ctx, replies, show_reply=False): |
| 17 | node = next(iter(replies)) # <-- take first. |
| 18 | reply = replies[node] |
| 19 | node = ctx.obj.style(f'{node}: ', fg='cyan', bold=True) |
| 20 | status, preply = ctx.obj.pretty(reply) |
| 21 | ctx.obj.say_chat('->', f'{node}{status}', |
| 22 | text.indent(preply, 4) if show_reply else '', |
| 23 | show_body=show_reply) |
| 24 | |
| 25 | |
| 26 | def _consume_arguments(meta, method, args): |