diff --git a/example.py b/example.py index c0cdb8a..034b42e 100644 --- a/example.py +++ b/example.py @@ -6,6 +6,7 @@ from TwitchChannelPointsMiner import TwitchChannelPointsMiner from TwitchChannelPointsMiner.logger import LoggerSettings, ColorPalette from TwitchChannelPointsMiner.classes.Chat import ChatPresence from TwitchChannelPointsMiner.classes.Discord import Discord +from TwitchChannelPointsMiner.classes.Matrix import Matrix from TwitchChannelPointsMiner.classes.Telegram import Telegram from TwitchChannelPointsMiner.classes.Settings import Priority, Events, FollowersOrder from TwitchChannelPointsMiner.classes.entities.Bet import Strategy, BetSettings, Condition, OutcomeKeys, FilterCondition, DelayMode @@ -47,6 +48,12 @@ twitch_miner = TwitchChannelPointsMiner( webhook_api="https://discord.com/api/webhooks/0123456789/0a1B2c3D4e5F6g7H8i9J", # Discord Webhook URL events=[Events.STREAMER_ONLINE, Events.STREAMER_OFFLINE, Events.BET_LOSE], # Only these events will be sent to the chat ) + matrix=Matrix( + username="twitch_miner", # Matrix username (without homeserver) + password="...", # Matrix password + homeserver="matrix.org", # Matrix homeserver + room_id="..." # Room ID + ) ), streamer_settings=StreamerSettings( make_predictions=True, # If you want to Bet / Make prediction