Fix timetable again omg

This commit is contained in:
Nexus 2023-09-19 10:33:05 +01:00
parent 78b758ff4c
commit d8f61cd733
Signed by: nex
GPG key ID: 0FA334385D0B689F

View file

@ -187,7 +187,7 @@ class TimeTableCog(commands.Cog):
lesson.setdefault("room", "unknown")
lesson.setdefault("start_datetime", discord.utils.utcnow())
if lesson["name"].lower() != "lunch":
text = "[tt] Current Lesson: {0['name']!r} with {0['tutor']} in {0['room']} - ends {1}".format(
text = "[tt] Current Lesson: {0[name]!r} with {0[tutor]} in {0[room]} - ends {1}".format(
lesson,
discord.utils.format_dt(lesson['end_datetime'], 'R')
)