Name both sides of the event in referral tweets (purchase + payout)

Each join/upgrade yields exactly one payment, so one tweet tells the
whole story. Upgrade tweets already named the upgrader + recipient;
referral tweets now name the joining member (evt.fromId) too, e.g.
"Member #129 just joined and Member #30 instantly earned 326.2 POL".
All templates verified <=280.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
martbost
2026-08-15 11:48:47 -05:00
parent a0f0950c77
commit 5c53945aee
+3 -3
View File
@@ -62,9 +62,9 @@ function render(evt, cfg) {
]); ]);
} else { } else {
body = pick([ body = pick([
`💸 Boom! A new teammate joined and Member #${evt.toId} instantly earned ${pol} POL — paid on-chain, verifiable by anyone. ⚡`, `💸 Boom! Member #${evt.fromId} just joined and Member #${evt.toId} instantly earned ${pol} POL — paid on-chain, verifiable by anyone. ⚡`,
`🎉 New teammate, instant reward! Member #${evt.toId} just banked ${pol} POL the moment someone joined under them. 🔗`, `🎉 New teammate! Member #${evt.fromId} came aboard and Member #${evt.toId} banked ${pol} POL the same moment. 🔗`,
`💰 Cha-ching! Member #${evt.toId} earned ${pol} POL on-chain the second a new member came aboard — no waiting. 🚀`, `💰 Cha-ching! Member #${evt.fromId} joined the team and Member #${evt.toId} earned ${pol} POL on-chain — instantly. 🚀`,
]); ]);
} }
const head = `${body}\n\nJoin The RM Circle team build 👉 ${cta}`; const head = `${body}\n\nJoin The RM Circle team build 👉 ${cta}`;