feat(guild): persist weekly bonus exceptional user count

The handler was a stub that discarded pkt.NumUsers. Now it
looks up the player's guild and atomically accumulates the
count via a new weekly_bonus_users column on the guilds table.
This commit is contained in:
Houmgaor
2026-02-21 00:42:16 +01:00
parent ad3fcbf908
commit 7932d8ac06
3 changed files with 23 additions and 2 deletions

View File

@@ -0,0 +1,6 @@
BEGIN;
ALTER TABLE IF EXISTS public.guilds
ADD COLUMN IF NOT EXISTS weekly_bonus_users INT NOT NULL DEFAULT 0;
END;