Skip to content

Style dollars from channel points (0.12.0) - #49

Merged
Finesssee merged 1 commit into
mainfrom
style-dollars
Oct 20, 2026
Merged

Finesssee merged 1 commit into
mainfrom
style-dollars

Conversation

@Finesssee

Copy link
Copy Markdown
Collaborator

Channel point rewards add style dollars, a separate balance, instead of PixFray dollars, so channel points can't buy duel strength.

  • Style dollars buy hats, cosmetics and build slots, spent before dollars. They never buy pets, the only shop item with stats.
  • !give / !pay and mod gifts move dollars only.
  • !wallet adds ", $S style dollars" when there are any. The fighter page shows a Style dollars stat and notes the split. The leaderboard keeps it private like dollars.
  • The mod page, reward prompt and bot reply say style dollars.
  • Test site: POST /api/devtools/:channel/style and scripts/devtools.ts style <bot> <amount>.
  • Migration: ALTER TABLE profiles ADD COLUMN style_dollars INTEGER NOT NULL DEFAULT 0. Existing dollars are untouched.

Tests: new channel test (pet refused, style-first split, !give leaves style, wallet text, leaderboard privacy), points and worker tests updated. bun run check passes (433 tests). Docs: DUELS, STREAMER_SETUP, CONTRACTS, DEVTOOLS, changelog.

Channel point redemptions add to a separate profiles.style_dollars balance.
The shop spends it first on hats, cosmetics and build slots and never on
pets, the only stat purchase. !give/!pay and mod gifts touch dollars only,
so channel points can't buy duel strength. !wallet, the fighter page, the
shop result and the export show it; the public leaderboard strips it.
Test site gets /api/devtools/:channel/style.
@coderabbitai

coderabbitai Bot commented Oct 20, 2026

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration
  • Configuration used: Repository: nesszer/pixfray/.coderabbit.yaml
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 1ee2dbb1-ac42-4c4a-b605-c394dee2942c
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@Finesssee
Finesssee merged commit 581a1cf into main Oct 20, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant