From c3910bdb572b95942ad8c5f5a92e33d43a048d87 Mon Sep 17 00:00:00 2001 From: nex <53234499+EEKIM10@users.noreply.github.com> Date: Thu, 20 Oct 2022 14:40:40 +0100 Subject: [PATCH] Fix timetable system --- cogs/timetable.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cogs/timetable.py b/cogs/timetable.py index e2b5874..a9eeb7e 100644 --- a/cogs/timetable.py +++ b/cogs/timetable.py @@ -110,7 +110,7 @@ class TimeTableCog(commands.Cog): f"ends {discord.utils.format_dt(lesson['end_datetime'], 'R')}" next_lesson = self.next_lesson(date) if next_lesson: - text += "\n[tt]Next lesson: {0[name]!r] with {0[tutor]} in {0[room]} - starts {1}".format( + text += "\n[tt]Next lesson: {0[name]!r} with {0[tutor]} in {0[room]} - starts {1}".format( next_lesson, next_lesson["start_datetime"] )