-
Notifications
You must be signed in to change notification settings - Fork 680
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Points spent events are never processed #103
Comments
Then? I don't understand this issue. |
OK. I've read your comment #96. |
Well, in the analytics branch you clearly use that event, which to me makes sense (to update the chart when we spend points) Twitch-Channel-Points-Miner-v2/TwitchChannelPointsMiner/classes/WebSocketsPool.py Line 180 in 5d7478e
Though the way the event is handled, it'll never go past that check: Twitch-Channel-Points-Miner-v2/TwitchChannelPointsMiner/classes/WebSocketsPool.py Lines 176 to 177 in 5d7478e
|
I'm feel so stupid 😢 |
While testing #96 I wondered why the points spent never showed up.
Seems to be that the payload sent by twitch doesn't work the same as when points are earned (everything hidden in red is my channel id):
The
channel_id
of the message isn't the id of the watched channel, but the id of our channelBasically it seems like the
channel_id
is the one of the channel that sent points:So when we try to get the streamer, it always returns -1 (
message.channel_id != ws.streamers[i].channel_id
when points are spent).Twitch-Channel-Points-Miner-v2/TwitchChannelPointsMiner/classes/WebSocketsPool.py
Lines 176 to 177 in 7de7ea6
The text was updated successfully, but these errors were encountered: