Skip to content

Commit 675aef2

Browse files
committed
Update session embed fields: rename 'Room' to 'Stream'
1 parent a8372d8 commit 675aef2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/europython_discord/program_notifications/session_to_embed.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,13 @@ def create_session_embed(session: Session, livestream_url: str | None) -> Embed:
3636
)
3737

3838
embed.add_field(name="Start Time", value=format_dt(session.start), inline=True)
39-
embed.add_field(name="Room", value=_format_room(session.rooms), inline=True)
39+
embed.add_field(name="Stream", value=_format_room(session.rooms), inline=True)
4040
embed.add_field(name="Track", value=_format_track(session.track), inline=True)
4141
embed.add_field(name="Duration", value=_format_duration(session.duration), inline=True)
4242
#embed.add_field(name="Livestream", value=_format_live_stream(livestream_url), inline=True)
4343
embed.add_field(name="Livestream", value=_format_live_stream(session.youtube_url), inline=True) # Add PyLadiesCon
44+
# want to change this to Language, but it's not present in the schedule model
45+
# we can add it via the programapi in the future if needed
4446
embed.add_field(name="Level", value=session.level.capitalize(), inline=True)
4547

4648
author = _create_author_from_speakers(session.speakers)

0 commit comments

Comments
 (0)