README(Matrix): Added events.

This commit is contained in:
Spencer
2023-04-01 02:17:11 +00:00
committed by GitHub
parent 51e4e2cc63
commit d1f3ed921b

View File

@@ -239,10 +239,11 @@ twitch_miner = TwitchChannelPointsMiner(
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(