strager / First

GNU General Public License v3.0
3 stars 2 forks source link

Per-streamer choice of 'first' reward #17

Closed strager closed 1 year ago

strager commented 1 year ago

We need to map rewards ("first", etc.) to level (how many points the viewer earns for redeeming).

Currently, any reward has level=1. This doesn't make sense as unrelated rewards (like "hydrate") are treated as something earning the viewer points.

Reward mappings should be per-stream because rewards are per-stream.

Alternative considered: We could guess the level based on the reward name. reward.name in {"first", "1st"} could work, for example. However, I think we'll need a UI for creating rewards anyway, so I think it makes sense to allow the streamer to explicitly allocate points for redemptions.