DogTags Schritte 4-7 und 11: Faehrte, Auftritte, grosse Momente, Spenden, Fokus, Abstimmung, Moderation

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
2026-10-28 03:06:42 +01:00
co-authored by Claude Opus 5.5
parent 0927c22df3
commit 61d174ac46
65 changed files with 3326 additions and 896 deletions
+5
View File
@@ -38,6 +38,7 @@ import {
import { stromAn } from "./workspace-chat.js";
import { buehneMelden } from "./workspace-buehne.js";
import { serverzielSpende } from "./workspace-serverziele.js";
import { dogtagSpende } from "./workspace-dogtag.js";
import { join } from "node:path";
import { mkdirSync, writeFileSync, unlinkSync } from "node:fs";
import { randomBytes } from "node:crypto";
@@ -155,6 +156,10 @@ function gutschreiben(z) {
kann es nicht (eindeutiger Index ueber die Spende), und ein
Fehler dort haelt hier nichts auf (eigenes try/catch dort). */
serverzielSpende(z);
/* UND DIE DOGTAGS (28.10.2026): Leuchtabdruck auf der Fährte und die
Frage, ob jemand aufsteigt. Eigenes try/catch dort. Doppelt zaehlen
kann es nicht -- der Leuchtabdruck ist eindeutig je Spende. */
dogtagSpende(z);
try {
if (!z?.id || !z.person_id || z.stand !== "bestaetigt") return;
const mille = centInMille(z.betrag_cent);