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()):
user_ids.sort()
lines += [
"Current {}:".format(role),
] + [
f"- {render_name(user_id, False)}"
for user_id in user_ids
]
lines.append("Current {}(s): ".format(
role,
", ".join(render_name(user_id, False) for user_id in user_ids),
))
lines += [
"",
"---",

Loading…
Cancel
Save