Update README.md

This commit is contained in:
Roman Davydov
2023-10-16 01:05:33 +03:00
committed by GitHub
parent fac1dcf995
commit a843422e11

View File

@@ -218,7 +218,7 @@ twitch_miner = TwitchChannelPointsMiner(
logger_settings=LoggerSettings( logger_settings=LoggerSettings(
save=True, # If you want to save logs in a file (suggested) save=True, # If you want to save logs in a file (suggested)
console_level=logging.INFO, # Level of logs - use logging.DEBUG for more info console_level=logging.INFO, # Level of logs - use logging.DEBUG for more info
console_username=False, # Adds a username to every console log line if True. Useful when you have many open consoles with different accounts console_username=False, # Adds a username to every console log line if True. Also adds it to Telegram, Discord, etc. Useful when you have several accounts
auto_clear=True, # Create a file rotation handler with interval = 1D and backupCount = 7 if True (default) auto_clear=True, # Create a file rotation handler with interval = 1D and backupCount = 7 if True (default)
time_zone="", # Set a specific time zone for console and file loggers. Use tz database names. Example: "America/Denver" time_zone="", # Set a specific time zone for console and file loggers. Use tz database names. Example: "America/Denver"
file_level=logging.DEBUG, # Level of logs - If you think the log file it's too big, use logging.INFO file_level=logging.DEBUG, # Level of logs - If you think the log file it's too big, use logging.INFO
@@ -249,6 +249,13 @@ twitch_miner = TwitchChannelPointsMiner(
room_id="...", # Room ID room_id="...", # Room ID
events=[Events.STREAMER_ONLINE, Events.STREAMER_OFFLINE, Events.BET_LOSE], # Only these events will be sent to the chat events=[Events.STREAMER_ONLINE, Events.STREAMER_OFFLINE, Events.BET_LOSE], # Only these events will be sent to the chat
) )
pushover=Pushover(
userkey="YOUR-ACCOUNT-TOKEN", # Login to https://pushover.net/, the user token is on the main page.
token="YOUR-APPLICATION-TOKEN", # Create a application on the website, and use the token shown in your application.
priority=0, # Read more about priority here: https://pushover.net/api#priority
sound="pushover", # A list of sounds can be found here: https://pushover.net/api#sounds
events=[Events.CHAT_MENTION, Events.DROP_CLAIM], # Only these events will be sent.
)
), ),
streamer_settings=StreamerSettings( streamer_settings=StreamerSettings(
make_predictions=True, # If you want to Bet / Make prediction make_predictions=True, # If you want to Bet / Make prediction