schedulebot: formatting changes

pull/370/head
Mike Lang 1 year ago
parent f63e68f609
commit d338c785ff

@ -176,12 +176,10 @@ def post_schedule(client, send_client, start_time, schedule, stream, hour, no_me
] ]
for role, user_ids in sorted(online_by_role.items()): for role, user_ids in sorted(online_by_role.items()):
user_ids.sort() user_ids.sort()
lines += [ lines.append("Current {}(s): ".format(
"Current {}:".format(role), role,
] + [ ", ".join(render_name(user_id, False) for user_id in user_ids),
f"- {render_name(user_id, False)}" ))
for user_id in user_ids
]
lines += [ lines += [
"", "",
"---", "---",

Loading…
Cancel
Save