Added Matrix to README.

This commit is contained in:
Spencer
2023-04-01 01:44:46 +00:00
committed by GitHub
parent 3b751f5ddc
commit 0e657e4122

View File

@@ -237,6 +237,12 @@ twitch_miner = TwitchChannelPointsMiner(
discord=Discord(
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(