I hate this fucking language.
This commit is contained in:
+8
-1
@@ -21,6 +21,13 @@ DEFAULT_MESSAGES: dict[str, list[str]] = {
|
||||
"Dein Gehirn hat heute schon aufgegeben, bevor du die PIN eingegeben hast.",
|
||||
"Elvanse wartet. Du offenbar auch, aber im falschen Sinne.",
|
||||
],
|
||||
"motivation_fallback": [
|
||||
"Dein Gehirn ist nicht kaputt. Es läuft nur auf einem anderen Betriebssystem — ohne Support.",
|
||||
"Du bist nicht faul. Dein Dopamin ist nur gerade in einem Meeting ohne Agenda.",
|
||||
"Heute ist ein guter Tag — oder zumindest einer, an dem Medis existieren.",
|
||||
"ADHS: where focus goes to die. Medis: der Respawn-Button.",
|
||||
"Du schaffst das. Nicht alles, aber Medis. Das zählt.",
|
||||
],
|
||||
}
|
||||
|
||||
|
||||
@@ -39,7 +46,7 @@ def load_messages(path: str | None = None) -> dict[str, list[str]]:
|
||||
|
||||
def pick(category: str, **fmt: Any) -> str:
|
||||
pool = load_messages()
|
||||
choices = pool.get(category) or pool.get("reminder", ["Medis."])
|
||||
choices = pool.get(category) or pool.get("motivation_fallback") or pool.get("reminder", ["Medis."])
|
||||
text = random.choice(choices)
|
||||
if fmt:
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user