Skip to content

Commit

Permalink
Example(Matrix): Added events.
Browse files Browse the repository at this point in the history
  • Loading branch information
Spencer-0003 authored Apr 1, 2023
1 parent 644320e commit 51e4e2c
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions example.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,11 @@
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
username="twitch_miner", # Matrix username (without homeserver)
password="...", # Matrix password
homeserver="matrix.org", # Matrix homeserver
room_id="..." # Room ID
events=[Events.STREAMER_ONLINE, Events.STREAMER_OFFLINE, Events.BET_LOSE], # Only these events will be sent to the chat
)
),
streamer_settings=StreamerSettings(
Expand Down

0 comments on commit 51e4e2c

Please sign in to comment.