From 5c41cda1845f85e0a453baa1390b0df7e27d2818 Mon Sep 17 00:00:00 2001 From: Mikkel Munch Mortensen <3xm@detfalskested.dk> Date: Thu, 27 Jul 2023 10:49:39 +0200 Subject: [PATCH] Add emojis, names --- frokostbot.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/frokostbot.py b/frokostbot.py index 35a0a4d..8fb4df1 100644 --- a/frokostbot.py +++ b/frokostbot.py @@ -155,10 +155,12 @@ else: # Determine appropriate emojis for the menu. emojis = [] for emoji, keywords in { + "birthday": ["tillykke", "fødselsdag"], "flag-in": ["indisk", "indien"], "flag-gr": ["græsk", "grækenland"], "flag-kr": ["korea"], "hushed": ["surprise", "surprice"], + "building_construction": ["byg selv", "byg-selv", "bygselv"], "fish": ["fisk", "laks", "rødspætte", "sej ", "kulmule"], "shrimp": ["reje"], "pig2": ["skinke", "gris", "nakkefilet", "flæsk"], @@ -173,6 +175,7 @@ else: "falafel": ["falafel"], "hot_pepper": ["chili", "hot sauce"], "onion": ["løg"], + "avocado": ["avocado", "avokado"], "mango": ["mango"], "lemon": ["citron"], "mushroom": ["svampe", "kantarel", "champignon"], @@ -201,9 +204,9 @@ else: "apple": ["æble"], "peanuts": ["peanut"], "baguette_bread": ["flute"], - "birthday": ["tillykke", "fødselsdag"], "wave": ["farvel"], "gift_heart": ["valentines"], + "stars::fish::shrimp::lemon": ["stjerneskud"], }.items(): for keyword in keywords: if keyword in f" {menu.lower()} ": @@ -235,6 +238,8 @@ else: "Jellings", "Imers", "Djinnies", + "Stefans", + "Pernilles", ]), "weekday" : [ "mandag",