diff --git a/cogs/timetable.py b/cogs/timetable.py index 406f887..dc0fb5c 100644 --- a/cogs/timetable.py +++ b/cogs/timetable.py @@ -157,7 +157,7 @@ class TimeTableCog(commands.Cog): else: date = datetime.now() - lessons = self.timetable[date.strftime("%A").lower()] + lessons = self.timetable.get(date.strftime("%A").lower(), []) if not lessons: return await ctx.respond(f"No lessons on {discord.utils.format_dt(date, 'D')}.")