Skip to content
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

Dedicated settings for each streamer #24

Closed
Tkd-Alex opened this issue Jan 28, 2021 · 3 comments · Fixed by #36
Closed

Dedicated settings for each streamer #24

Tkd-Alex opened this issue Jan 28, 2021 · 3 comments · Fixed by #36
Labels
enhancement New feature or request

Comments

@Tkd-Alex
Copy link
Owner

Hi Guys 😸

What do you think to create a dedicated setting for each streamer?
Something like

miner.run([
    Streamer("username1", predictions=True,  raid=True,  drops=True,  watch_streak=True,  bet_settings=BetSettings(strategy=Strategy.SMART,      percentage=2,  percentage_gap=20, max_points=50000 )),
    Streamer("username2", predictions=False, raid=True,  drops=True,  watch_streak=True,  bet_settings=BetSettings(strategy=Strategy.PERCENTAGE, percentage=1,  percentage_gap=20, max_points=500   )),
    Streamer("username3", predictions=True,  raid=False, drops=True,  watch_streak=True,  bet_settings=BetSettings(strategy=Strategy.ODS,        percentage=22, percentage_gap=20, max_points=700   )),
    Streamer("username4", predictions=True,  raid=True,  drops=False, watch_streak=False, bet_settings=BetSettings(strategy=Strategy.SMART,      percentage=5,  percentage_gap=20, max_points=213   ))
])

What do you think about this? Please share your opinion. If for the community It's a good idea I can work also on this or if someone wants to make a PR ❤️

@Tkd-Alex Tkd-Alex added the enhancement New feature or request label Jan 28, 2021
@Yishaqel
Copy link

Im totally in favor of implementing this, in some streams you have different points and you should bet differently because of that.

@SiIason
Copy link

SiIason commented Jan 29, 2021

Default ruleset with per stream overrides maybe?

@Tkd-Alex
Copy link
Owner Author

Default ruleset with per stream overrides maybe?

So you mean something like:

miner = TwitchChannelPointsMiner(
	username="username",
	default_settings ....
)


miner.run([
	Streamer("username1", predictions=True,  raid=True,  .... ), # Ovveride default settings
	Streamer("username2", predictions=False, raid=True,  .... ), # Ovveride default settings
	Streamer("username3", predictions=True,  raid=False, .... ), # Ovveride default settings
	Streamer("username4"),                                       # Use default settings
	Streamer("username5"),                                       # Use default settings
	Streamer("username6"),                                       # Use default settings
])

@Tkd-Alex Tkd-Alex changed the title Dedicated settings for each streamers Dedicated settings for each streamer Feb 1, 2021
1v pushed a commit to 1v/Twitch-Channel-Points-Miner-v2 that referenced this issue Dec 20, 2022
Updated Python from 3.8 to 3.11 in Docker container
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants