Levels: Viewer, Regular (50 h), Loyal (200 h), Veteran (1000 h)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Bashy 2026-11-22 18:04:43 +02:00
parent 207740c3e6
commit 3a312ab493
2 changed files with 2 additions and 2 deletions

View file

@ -18,7 +18,7 @@ const VALUE = {
// Levels by watch time (our ticks + StreamElements import), not points: bits/subs do not buy a level.
const LEVELS = [
{ minHours: 0, name: 'Viewer' }, { minHours: 20, name: 'Regular' }, { minHours: 200, name: 'Veteran' },
{ minHours: 0, name: 'Viewer' }, { minHours: 50, name: 'Regular' }, { minHours: 200, name: 'Loyal' }, { minHours: 1000, name: 'Veteran' },
];
const levelOf = watchMinutes => [...LEVELS].reverse().find(l => watchMinutes >= l.minHours * 60);