rdavydov / 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.1k stars 322 forks source link

Ignore streamers who disable points #504

Open MathiasDPX opened 2 months ago

MathiasDPX commented 2 months ago

Is your feature request related to a problem?

title

Proposed solution

if dont have points enabled: dont watch

Alternatives you've considered

No response

Additional context

No response

uzi98f commented 2 months ago

just deleted from your list, easy and fast solution

qs-arno commented 1 month ago

just deleted from your list, easy and fast solution

Unfortunately, that doesn't work if you're using followers=True to operate against your entire follow list.

This is actually another case where having per-channel max point limits (https://github.com/rdavydov/Twitch-Channel-Points-Miner-v2/issues/255) might help; you could set such a channel to have a max points of -1 or None, and then the bot could automatically skip farming the channel for points without disabling it entirely (which would prevent it from being used to farm drops, for example). Also, I wonder if a channel can disable points but still support watch streaks (never seen that in the wild, but I suppose you never know).

OrbitalCannon commented 2 weeks ago

The example.py file used to have a blacklist function where you could pick specific channels to not watch so as to exclude them if pulled as @qs-arno pointed out. It just goes inside the twitch_miner.mine function at the end. blacklist=["channel_1", "channel_2"] # Blacklist Unsure if this function still works. You will have to call out each individual channel you don't want to watch by name.

rdavydov commented 2 weeks ago

Yes, the blacklist option should be still available. I checked the code - it is still used there. Not sure about example.py - it was not there when I forked the repo. You can search for "blacklist" in the README.md file - there is enough info on it.

Example:

twitch_miner.mine(followers=True, blacklist=["user1", "user2"])  # Blacklist example
OrbitalCannon commented 2 weeks ago

Ah maybe I added it then after reading about it, implementing it, then deciding to not use it. It's a workaround for this issue in any case.