Events.CHAT_MENTION

This commit is contained in:
Roman Davydov
2023-04-01 18:24:48 +03:00
committed by GitHub
parent dc791053c2
commit b685b89801

View File

@@ -40,12 +40,14 @@ twitch_miner = TwitchChannelPointsMiner(
telegram=Telegram( # You can omit or leave None if you don't want to receive updates on Telegram
chat_id=123456789, # Chat ID to send messages @GiveChatId
token="123456789:shfuihreuifheuifhiu34578347", # Telegram API token @BotFather
events=[Events.STREAMER_ONLINE, Events.STREAMER_OFFLINE, "BET_LOSE"], # Only these events will be sent to the chat
events=[Events.STREAMER_ONLINE, Events.STREAMER_OFFLINE,
Events.BET_LOSE, Events.CHAT_MENTION], # Only these events will be sent to the chat
disable_notification=True, # Revoke the notification (sound/vibration)
),
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
webhook_api="https://discord.com/api/webhooks/0123456789/0a1B2c3D4e5F6g7H8i9J", # Discord Webhook URL
events=[Events.STREAMER_ONLINE, Events.STREAMER_OFFLINE,
Events.BET_LOSE, Events.CHAT_MENTION], # Only these events will be sent to the chat
)
),
streamer_settings=StreamerSettings(