def default(self): for name in [ "make_predictions", "follow_raid", "claim_drops", "watch_streak" ]: if getattr(self, name) is None: setattr(self, name, True) if self.bet is None: self.bet = BetSettings()
follow_raid=True, # Follow raid to obtain more points claim_drops= True, # We can't filter rewards base on stream. Set to False for skip viewing counter increase and you will never obtain a drop reward from this script. Issue #21 watch_streak= True, # If a streamer go online change the priotiry of streamers array and catch the watch screak. Issue #11 join_chat=True, # Join irc chat to increase watch-time bet=BetSettings( strategy=Strategy.SMART, # Choose you strategy! percentage=5, # Place the x% of your channel points percentage_gap= 20, # Gap difference between outcomesA and outcomesB (for SMART stragegy) max_points= 50000, # If the x percentage of your channel points is gt bet_max_points set this value stealth_mode= True, # If the calculated amount of channel points is GT the highest bet, place the highest value minus 1-2 points Issue #33 delay_mode=DelayMode. FROM_END, # When placing a bet, we will wait until `delay` seconds before the end of the timer delay=6, minimum_points= 2000, # Place the bet only if we have at least 20k points. Issue #113 filter_condition=FilterCondition( by=OutcomeKeys. TOTAL_USERS, # Where apply the filter. Allowed [PERCENTAGE_USERS, ODDS_PERCENTAGE, ODDS, TOP_POINTS, TOTAL_USERS, TOTAL_POINTS] where=Condition. LTE, # 'by' must be [GT, LT, GTE, LTE] than value value=800)))) # You can customize the settings for each streamer. If not settings were provided, the script would use the streamer_settings from TwitchChannelPointsMiner. # If no streamer_settings are provided in TwitchChannelPointsMiner the script will use default settings. # The streamers array can be a String -> username or Streamer instance. # The settings priority are: settings in mine function, settings in TwitchChannelPointsMiner instance, default settings.
streamer_settings=StreamerSettings( make_predictions=True, # If you want to Bet / Make prediction follow_raid=True, # Follow raid to obtain more points claim_drops= True, # We can't filter rewards base on stream. Set to False for skip viewing counter increase and you will never obtain a drop reward from this script. Issue #21 watch_streak= True, # If a streamer go online change the priotiry of streamers array and catch the watch screak. Issue #11 join_chat=True, # Join irc chat to increase watch-time bet=BetSettings( strategy=Strategy.SMART, # Choose you strategy! percentage=5, # Place the x% of your channel points percentage_gap= 20, # Gap difference between outcomesA and outcomesB (for SMART stragegy) max_points= 50000, # If the x percentage of your channel points is gt bet_max_points set this value stealth_mode= True, # If the calculated amount of channel points is GT the highest bet, place the highest value minus 1-2 points #33 filter_condition=FilterCondition( by=OutcomeKeys. TOTAL_USERS, # Where apply the filter. Allowed [PERCENTAGE_USERS, ODDS_PERCENTAGE, ODDS, TOP_POINTS, TOTAL_USERS, TOTAL_POINTS] where=Condition. LTE, # 'by' must be [GT, LT, GTE, LTE] than value value=800)))) # You can customize the settings for each streamer. If not settings were provided, the script would use the streamer_settings from TwitchChannelPointsMiner. # If no streamer_settings are provided in TwitchChannelPointsMiner the script will use default settings. # The streamers array can be a String -> username or Streamer instance. # The settings priority are: settings in mine function, settings in TwitchChannelPointsMiner instance, default settings. # For example, if in the mine function you don't provide any value for 'make_prediction' but you have set it on TwitchChannelPointsMiner instance, the script will take the value from here. # If you haven't set any value even in the instance the default one will be used
browser=Browser. FIREFOX, # Choose if you want to use Chrome or Firefox as browser show=False, # Show the browser during bet else headless mode do_screenshot=False, # Do screenshot during the bet ), streamer_settings=StreamerSettings( make_predictions=True, # If you want to Bet / Make prediction follow_raid=True, # Follow raid to obtain more points claim_drops= True, # We can't filter rewards base on stream. Set to False for skip viewing counter increase and you will never obtain a drop reward from this script. Issue #21 watch_streak= True, # If a streamer go online change the priotiry of streamers array and catch the watch screak. Issue #11 bet=BetSettings( strategy=Strategy.SMART, # Choose you strategy! percentage=5, # Place the x% of your channel points percentage_gap= 20, # Gap difference between outcomesA and outcomesB (for SMART stragegy) max_points= 50000, # If the x percentage of your channel points is gt bet_max_points set this value ))) # You can customize the settings for each streamer. If not settings was provided the script will use the streamer_settings from TwitchChannelPointsMiner. # If no streamer_settings provided in TwitchChannelPointsMiner the script will use default settings. # The streamers array can be a String -> username or Streamer instance. # The settings priority are: settings in mine function, settings in TwitchChannelPointsMiner instance, default settings. # For example if in the mine function you don't provide any value for 'make_prediction' but you have set it on TwitchChannelPointsMiner instance the script will take the value from here. # If you haven't set any value even in the instance the default one will be used twitch_miner.mine( [ Streamer("streamer-username01",