From d8f61cd7338c0b4682ef15f8a9f6a3ba5d2b94b2 Mon Sep 17 00:00:00 2001 From: nex Date: Tue, 19 Sep 2023 10:33:05 +0100 Subject: [PATCH] Fix timetable again omg --- cogs/timetable.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cogs/timetable.py b/cogs/timetable.py index f20103f..ed0911c 100644 --- a/cogs/timetable.py +++ b/cogs/timetable.py @@ -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') )