feat: Gotify module
This commit is contained in:
@@ -197,6 +197,7 @@ from TwitchChannelPointsMiner.classes.Chat import ChatPresence
|
||||
from TwitchChannelPointsMiner.classes.Discord import Discord
|
||||
from TwitchChannelPointsMiner.classes.Webhook import Webhook
|
||||
from TwitchChannelPointsMiner.classes.Telegram import Telegram
|
||||
from TwitchChannelPointsMiner.classes.Gotify import Gotify
|
||||
from TwitchChannelPointsMiner.classes.Settings import Priority, Events, FollowersOrder
|
||||
from TwitchChannelPointsMiner.classes.entities.Bet import Strategy, BetSettings, Condition, OutcomeKeys, FilterCondition, DelayMode
|
||||
from TwitchChannelPointsMiner.classes.entities.Streamer import Streamer, StreamerSettings
|
||||
@@ -259,6 +260,12 @@ twitch_miner = TwitchChannelPointsMiner(
|
||||
priority=0, # Read more about priority here: https://pushover.net/api#priority
|
||||
sound="pushover", # A list of sounds can be found here: https://pushover.net/api#sounds
|
||||
events=[Events.CHAT_MENTION, Events.DROP_CLAIM], # Only these events will be sent
|
||||
),
|
||||
gotify=Gotify(
|
||||
endpoint="https://example.com/message?token=TOKEN",
|
||||
priority=8,
|
||||
events=[Events.STREAMER_ONLINE, Events.STREAMER_OFFLINE,
|
||||
Events.BET_LOSE, Events.CHAT_MENTION],
|
||||
)
|
||||
),
|
||||
streamer_settings=StreamerSettings(
|
||||
|
||||
Reference in New Issue
Block a user