diff --git a/server.js b/server.js index 79fc4a0..6a02e99 100644 --- a/server.js +++ b/server.js @@ -1776,10 +1776,10 @@ chain.startIndexer(evt=>{ if(upTools) text+=`\n🧰 #${evt.fromId} reached ${evt.levelName} and unlocked ${upTools}.`; } if(evt.tx)text+=`\nhttps://polygonscan.com/tx/${evt.tx}`; - // team-build topic: telegramTeamEvents 'all' (default) | 'no-payouts' (payout lines - // live in the shared payments topic instead; registrations/upgrades still post here, - // and the daily snapshot cron posts to this topic on its own). - if(!(evt.type==='payout' && String(c.telegramTeamEvents||'all')==='no-payouts')) sendTelegram(text); + // team-build topic: telegramTeamEvents 'all' (default) | 'no-payouts' (payout lines live in + // the shared payments topic instead) | 'none' (Marty 2026-09-12: nothing but the daily + // snapshot, which the cron posts to this topic on its own). + { const tm=String(c.telegramTeamEvents||'all'); if(tm!=='none' && !(evt.type==='payout' && tm==='no-payouts')) sendTelegram(text); } // recruiting-framed copy of the SAME event to the new-members topic // (social proof, CTA -> home). Fires only when a recruit topic is set. if(c.telegramRecruitTopicId){ const rm=recruitMsg(evt); if(rm){ const cta='https://'+String(c.recruitCtaUrl||'rmcircle.team').replace(/^https?:\/\//,''); sendTelegram(rm, c.telegramRecruitTopicId, {inline_keyboard:[[{text:'šŸš€ Get Started — rmcircle.team',url:cta+(cta.includes('?')?'&':'?')+'utm_source=tg'}]]}); } }