Tkd-Alex / Twitch-Channel-Points-Miner-v2

A simple script that will watch a stream for you and earn the channel points.
GNU General Public License v3.0
1.21k stars 673 forks source link

Only farming 1 streamer at time. #663

Open kizato1018 opened 1 year ago

kizato1018 commented 1 year ago

Describe the bug I'm not sure that had happened to everyone. I notice that sometimes the bot will only farming 1 streamer in the same time. So I try to figure out the problem. I guess it might happen because the send_minute_watched_events() function in Twitch.py adding the same streamer into streamers_watching when cheking different priority. And I add streamers_watching=list(set(streamers_watching)) at bottom of the loop for priority to remove duplicates. It seems to be solved. However I don't know how to reproduce and don't have time. Can someone try it?

To Reproduce IDK

Expected behavior Only farming 1 streamer at time. Althougt there are several streamer online.

Desktop (please complete the following information):