8f61d11d43
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
20 lines
2.0 KiB
Python
20 lines
2.0 KiB
Python
# PassiveDrip goes live on the Earn tab for every member (Marty, 2026-10-03): chatbot canned answer + AI prompt facts.
|
|
p = 'D:/Projects/HighRisk/onchain-ad-membership/site/chatbot.js'
|
|
b = open(p, 'rb').read(); crlf = b.count(b'\r\n') > b.count(b'\n') // 2
|
|
s = b.decode('utf-8').replace('\r\n', '\n')
|
|
a = " { re: /(spooky ?doors?|trick.or.treat"
|
|
if s.count(a) != 1: raise SystemExit('canned anchor')
|
|
canned = (" { re: /(passive ?drip|faucet|paid.to.click|\\bptc\\b|daily bonus|coins? (to|into) pol|2,?000 coins)/i,\n"
|
|
" a: 'PassiveDrip (https://passivedrip.com) is our earning site, listed under More ways to earn on your Earn tab. Claim the faucet, view paid-to-click ads, complete offers and roll the daily bonus for coins. When your balance reaches 2,000 coins ($1) it is paid out automatically in POL to your wallet on Polygon. Open it from the Earn tab with one tap: it signs you in with your InstantAdPay account, no new password. Add your Polygon wallet there so payouts can reach you. What you earn depends on what you do there; nothing is guaranteed.' },\n")
|
|
s = s.replace(a, canned + a)
|
|
a2 = "- SPOOKY DOORS (Halloween season game, 2026-10-02):"
|
|
if s.count(a2) != 1: raise SystemExit('prompt anchor')
|
|
fact = ("- PASSIVEDRIP (LIVE on the Earn tab for every member since 2026-10-03): https://passivedrip.com, an EARNING SITE (never call it a game): "
|
|
"faucet claims, paid-to-click ad views, offers (offer walls) and a daily bonus roll earn coins; at 2,000 coins ($1) the balance is "
|
|
"paid out AUTOMATICALLY in POL on Polygon to the wallet saved on PassiveDrip. The Earn tab card (More ways to earn: PassiveDrip) opens it "
|
|
"with ONE TAP using the InstantAdPay account (no new password; it offers the member's InstantAdPay wallet to save). No income is promised.\n")
|
|
s = s.replace(a2, fact + a2)
|
|
s = s.replace("const KNOWLEDGE_DATE = '2026-10-02';", "const KNOWLEDGE_DATE = '2026-10-03';")
|
|
if crlf: s = s.replace('\n', '\r\n')
|
|
open(p, 'wb').write(s.encode('utf-8')); print('ok')
|