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