Weekly gross revenue run-rate ping, posted to Slack #test every Friday.
Independent of consensus/arr-bot.
Gross revenue run rate = trailing 28 complete days of gross payment volume Ć 13.
gross_volume
metric (all three agree within 0.01%).š Add STRIPE_SECRET_KEY here: https://www.val.town/x/consensus/runrate-bot/environment-variables?key=STRIPE_SECRET_KEY
(Same restricted key as arr-bot: needs Sigma + Sigma API permissions and an active Sigma subscription.)
SLACK_TOKEN comes from Val Town's Slack integration ā connect it on this val's dashboard (same flow as arr-bot).
main.ts ā interval handler: one Sigma query ā run rate + WoW ā Slacksigma.ts ā Sigma Query Run API client (copy of arr-bot's, kept local so this val is self-contained)Fridays 6pm PT ā cron 0 1 * * 6 (01:00 UTC Saturday). Val Town cron is UTC-only with no DST adjustment, so this is 6pm during PDT (summer) and 5pm during PST (winter), same convention as arr-bot's daily digest.