Network Weekend (Marty 2026-11-17): 8 instant picks per position Fri 11-27 00:00 CT to Tue 12-01 00:00 CT, ribbon, chatbot facts

weekend.js: date gate by the purchase's chain time (WEEKEND_PICKS=0 switches it off, WEEKEND_NOW test clock); /api/config, quote,
order and the attach hook use it. Tank check 11-17: draft pool 1,339, 2 positions sold. netdeals.js + /assets/netweekend.js ribbon
(/api/network-deals from the hub), loaded by common.js (not draftday/admin), common.js?v=4. chatbot FACTS weekend line and a
chatcore finish hook so stored instant answers say 8 while live. qa/weekend.test.cjs.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
martbost
2026-11-17 07:22:44 -06:00
parent 394aec44c3
commit f56fc551fe
22 changed files with 199 additions and 22 deletions
+6 -2
View File
@@ -12,7 +12,8 @@
const core = require('./chatcore');
const C = require('./config').get();
const KNOWLEDGE_DATE = '2026-11-15';
const KNOWLEDGE_DATE = '2026-11-17';
const weekend = require('./weekend');
const URL_ = 'https://' + C.site;
const SUPPORT = 'https://instantadpay.com/support';
const PO = C.position, SP = C.split, D = C.draft, PK = C.picks;
@@ -90,12 +91,15 @@ const FACTS = () => [
'- BEST COACH POT: ' + SP.potPct + '% of every position to a prize wallet fixed in the contract; each Central week shared among the coaches whose picks started the most (places ' + POT + ' percent; tie = got there first), announced on the board, every payout on the ledger. Prizes depend on that week\'s pot, never promised. Boards also show Rookie of the Week and last week\'s top 3.',
'- CARDS: Rookie (drafted), Starter (wallet), Pro (payouts on), All-Star (first purchase), Hall of Fame (holds a position of their own). Public cards show milestones, never earnings; scouting earnings show to coaches only.',
'- PAGES: / (pool, tracker, standings), /join (buy), /team (coaching), /cards, /builder (CryptoTeamBuild builder, third-party programs), /promote, /ledger, /contract, /terms, /disclaimer, /privacy. Run by TrustClickz.',
(weekend.live() ? '- NETWORK WEEKEND (live now, Black Friday to Cyber Monday, Fri 11-27 to Mon 11-30, midnight to midnight Central): every position bought in the window comes with ' + weekend.weekendPicks() + ' instant picks instead of ' + PO.picksOnBuy + ', same $' + PO.usd + ' price. This overrides the ' + PO.picksOnBuy + ' picks above until Tuesday 12-01 00:00 Central. Every network deal: https://instantadpay.com/weekend' : null),
'- NO REFUNDS: blockchain payments are final. SUPPORT for account or payment problems: network support at ' + SUPPORT + ' (InstantAdPay runs the one desk for every network site). ' + NOT_INCOME
].join('\n');
].filter(Boolean).join('\n');
const SITE = {
id: 'fivex', hubSite: 'fivex', netId: 'fivex', name: '5xYourTeam', url: URL_, supportUrl: SUPPORT, knowledgeDate: KNOWLEDGE_DATE,
dataDir: C.dataDir, canned: CANNED, faq: FAQ, facts: FACTS,
// Network Weekend: the stored instant answers say the normal picks; while the weekend is live the reply carries the weekend number
finish: r => (weekend.live() ? r.replace(new RegExp('\\b' + PO.picksOnBuy + ' (picks right away|instant picks)', 'g'), weekend.weekendPicks() + ' $1 (Network Weekend, through Monday 11-30 midnight Central)') : r),
intro: 'You are the assistant on 5xYourTeam (' + URL_ + '), The Draft: coaches buy a $' + PO.usd + ' one-time position and draft people who joined the network without a sponsor every week, then coach them through site messages.',
quickTopics: ['How does The Draft work?', 'Where does the $10 go?', 'When is the draft?', 'What is Downline Banners?']
};