Add more emojis

This commit is contained in:
Edward Betts 2024-01-16 16:00:41 +00:00
parent 4638069e51
commit 75d18aed2b

View file

@ -107,6 +107,9 @@ emojis = {
"rocket": "🚀",
"birthday": "🎈",
"waste_schedule": "🗑️",
"economist": "📰",
"running": "🏃",
"critical_mass": "🚴",
}
@ -203,6 +206,8 @@ class Event:
@property
def emoji(self) -> str | None:
"""Emoji."""
if self.title == "LHG Run Club":
return "🏃🍻"
return emojis.get(self.name)
@property