Skip to content

Release 0.1.1 VIP token automation and bot auth improvements#35

Merged
Jamesllllllllll merged 1 commit intomainfrom
codex/fractional-vip-tokens
Mar 22, 2026
Merged

Release 0.1.1 VIP token automation and bot auth improvements#35
Jamesllllllllll merged 1 commit intomainfrom
codex/fractional-vip-tokens

Conversation

@Jamesllllllllll
Copy link
Copy Markdown
Owner

Summary

Prepare the 0.1.1 VIP-token automation release. This adds fractional VIP balances, automates Twitch-native VIP rewards for gifted subs and cheers, and tightens the bot auth/reconnect workflow needed for bot-badged chat replies and safer local testing.

What Changed

  • Added fractional VIP token balances end-to-end, including redemption from partial balances, moderation editing, validation, and tests.
  • Added configurable VIP token automation for gifted-sub gifters, gifted-sub recipients, and cheers, plus public playlist messaging that explains the active earning rules.
  • Added EventSub support-event processing and delivery dedupe so automation events do not double-grant on redelivery.
  • Updated Twitch auth/bot integration docs and release metadata for 0.1.1.
  • Polished the moderation VIP token stepper so repeated clicks are allowed during debounce and controls only lock while the save request is in flight.

How To Test

  1. Run npm run format.
  2. Run npm run lint.
  3. Run npm run typecheck.
  4. Run npm run test.
  5. Run npm run build.
  6. In the dashboard moderation view, edit VIP balances including fractional values like 1.5, then redeem one VIP request and confirm the remaining balance is 0.5.
  7. In the dashboard settings view, enable gifted-sub and cheer VIP automation, then verify the public playlist page shows the correct VIP token earning summary.
  8. Trigger Twitch EventSub payloads for channel.subscription.gift, gifted channel.subscribe, and channel.cheer, then confirm tokens are granted once and bot replies are sent only when the configured threshold is met.

Screenshots Or UI Notes

  • VIP token balances now support decimals in moderation.
  • The public playlist page now shows a small VIP automation summary when support-based rewards are enabled.
  • The moderation VIP token stepper no longer locks during the debounce window.

Checklist

  • I tested the change locally
  • I updated docs or examples if needed
  • I called out any follow-up work or known limitations

Closes #23
Closes #32
Refs #18
Refs #33

@github-actions
Copy link
Copy Markdown

Preview deployment updated.

App: https://request-bot-pr-35.jameskeezer.workers.dev
Frontend worker: request-bot-pr-35
Backend worker: request-bot-backend-pr-35

@Jamesllllllllll Jamesllllllllll merged commit 7c83ea5 into main Mar 22, 2026
3 checks passed
@Jamesllllllllll Jamesllllllllll deleted the codex/fractional-vip-tokens branch March 22, 2026 20:37
Jamesllllllllll added a commit that referenced this pull request Apr 12, 2026
Release 0.1.1 VIP token automation and bot auth improvements
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.

Improve bot reconnect flow and bot-badge auth path Handle revoked broadcaster Twitch auth as a recoverable reconnect state

1 participant