mirror of
https://github.com/nexy7574/LCC-bot.git
synced 2024-09-19 18:16:34 +01:00
Fix timetable again omg
This commit is contained in:
parent
78b758ff4c
commit
d8f61cd733
1 changed files with 1 additions and 1 deletions
|
@ -187,7 +187,7 @@ class TimeTableCog(commands.Cog):
|
||||||
lesson.setdefault("room", "unknown")
|
lesson.setdefault("room", "unknown")
|
||||||
lesson.setdefault("start_datetime", discord.utils.utcnow())
|
lesson.setdefault("start_datetime", discord.utils.utcnow())
|
||||||
if lesson["name"].lower() != "lunch":
|
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,
|
lesson,
|
||||||
discord.utils.format_dt(lesson['end_datetime'], 'R')
|
discord.utils.format_dt(lesson['end_datetime'], 'R')
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue