Skip to content

Expand VIP token automation with StreamElements tips#62

Merged
Jamesllllllllll merged 1 commit intomainfrom
codex/streamelements-vip-tokens
Mar 29, 2026
Merged

Expand VIP token automation with StreamElements tips#62
Jamesllllllllll merged 1 commit intomainfrom
codex/streamelements-vip-tokens

Conversation

@Jamesllllllllll
Copy link
Copy Markdown
Owner

Summary

Closes #18.
Related: #2.

Expand VIP token automation so channels can award VIP tokens from StreamElements tips, narrow request modifiers to *bass, and polish the dashboard settings/navigation UX around these flows.

What Changed

  • Added a token-protected StreamElements tip relay endpoint and tip processing flow that grants VIP tokens from donation amount, writes audit logs, deduplicates deliveries, and sends a Twitch chat confirmation.
  • Added dashboard settings for StreamElements tip rewards, including conversion rate, relay URL copy button, and setup guidance that states Streamer.bot is required today for tip-to-token forwarding.
  • Updated !how / request parsing so channels can optionally allow the *bass modifier without reintroducing the removed tracklist command.
  • Reworked the dashboard nav into a compact top row and reorganized the VIP token automation card, including a live cheer-threshold explainer and overflow fixes for long settings controls.
  • Added migrations and automated tests covering StreamElements tip parsing/processing plus the updated chat command behavior.

How To Test

  1. Open Dashboard Settings and confirm the compact top navigation works at desktop and phone widths.
  2. In VIP token automation, enable StreamElements tip rewards, set the tip amount per VIP token, and use the Relay URL copy button.
  3. Read the setup guidance and confirm it clearly states that Streamer.bot is required today for forwarding StreamElements tips, while StreamElements can still show OBS alerts on its own.
  4. Send a test POST to the relay URL or forward a StreamElements Tip event from Streamer.bot and confirm VIP tokens are granted and the bot announces the award in Twitch chat.
  5. Enable the request modifier toggle and confirm !sr artist - title *bass works while unsupported modifiers are not advertised by !how.
  6. Run npm run format, npm run lint, npm run check:prepush, and npm run build.

Screenshots Or UI Notes

No screenshots attached.

UI notes:

  • The StreamElements settings copy now tells users where the relay URL belongs and whether Streamer.bot is required.
  • OBS alerts remain a separate StreamElements setup; Request Bot tip rewards currently rely on forwarded events.
  • The dashboard settings layout is narrower and more mobile-friendly, with the VIP automation controls grouped by how streamers actually configure them.

Checklist

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

@github-actions
Copy link
Copy Markdown

Preview deployment updated.

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

@Jamesllllllllll Jamesllllllllll merged commit 655058f into main Mar 29, 2026
3 checks passed
@Jamesllllllllll Jamesllllllllll deleted the codex/streamelements-vip-tokens branch March 29, 2026 23:09
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.

[Feature]: Expand VIP token automation and configuration

1 participant