From a4463d4d259f098c4223c4c3b67a188e9c403cc9 Mon Sep 17 00:00:00 2001 From: LewkForce <85381777+LewkForce@users.noreply.github.com> Date: Sun, 31 Aug 2025 08:35:39 -0700 Subject: [PATCH] WebsocketRequestsGetCreditsUpdate08312025.md Updated the JSON response for the GetCredits request to match what is currently received from the SB Websocket Server. --- .../3.api/4.servers/1.websocket/0.requests.md | 69 ++++++++++--------- 1 file changed, 36 insertions(+), 33 deletions(-) diff --git a/streamerbot/3.api/4.servers/1.websocket/0.requests.md b/streamerbot/3.api/4.servers/1.websocket/0.requests.md index 5e00c760..79a30766 100644 --- a/streamerbot/3.api/4.servers/1.websocket/0.requests.md +++ b/streamerbot/3.api/4.servers/1.websocket/0.requests.md @@ -514,39 +514,42 @@ Fetch the current credits system data. ``` ```json [↙️ Response] { - "Events": { - "Follows": [], - "Cheers": [], - "Subs": [], - "ReSubs": [], - "GiftSubs": [], - "GiftBombs": [], - "Raided": [], - "RewardRedemptions": [], - "GoalContributions": [], - "GameUpdates": [], - "Pyramids": [] - }, - "HypeTrainConductor": [], - "HypeTrainContributors": [], - "User": { - "Editors": [], - "Moderator": [], - "Subscriber": [], - "VIPs": [], - "Users": [], - "regulars": [] - }, - "Custom": {}, - "TopBits": { - "All": [], - "Month": [], - "Week": [] - }, - "TopChannelRewards": [], - "status": "ok", - "id": "" - } + "id": "", + "events": { + "follows": [], + "cheers": [], + "subs": [], + "resubs": [], + "giftsubs": [], + "giftbombs": [], + "raided": [], + "rewardredemptions": [], + "goalcontributions": [], + "gameupdates": [], + "pyramids": [], + "hypetrains": [] + }, + "hypeTrain": { + "conductors": [], + "contributors": [] + }, + "users": { + "editors": [], + "moderators": [], + "subscribers": [], + "vips": [], + "groups": [], + "users": [] + }, + "groups": {}, + "top": { + "allBits": [], + "monthBits": [], + "weekBits": [], + "channelRewards": [] + }, + "status": "ok" +} ``` ```ts [example.js] // Using @streamerbot/client