Add missing whitespace to timetable message

This commit is contained in:
nex 2022-10-20 15:47:27 +01:00
parent c3910bdb57
commit 97fc1e3989

View file

@ -110,7 +110,7 @@ class TimeTableCog(commands.Cog):
f"ends {discord.utils.format_dt(lesson['end_datetime'], 'R')}" f"ends {discord.utils.format_dt(lesson['end_datetime'], 'R')}"
next_lesson = self.next_lesson(date) next_lesson = self.next_lesson(date)
if next_lesson: 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,
next_lesson["start_datetime"] next_lesson["start_datetime"]
) )