Fix error in food

This commit is contained in:
Stijn De Clercq 2021-08-19 19:45:00 +02:00
parent cdb8a04cde
commit cbe1cf747f
2 changed files with 7 additions and 2 deletions

View file

@ -29,6 +29,7 @@ class School(commands.Cog):
menu = eten.etenScript(day)
embed = discord.Embed(colour=discord.Colour.blue())
embed.set_author(name="Menu voor {}".format(day))
if "gesloten" in menu[0].lower():
embed.description = "Restaurant gesloten"
else: