feat: Gotify module
This commit is contained in:
@@ -584,6 +584,7 @@ class Twitch(object):
|
||||
"skip_discord": True,
|
||||
"skip_webhook": True,
|
||||
"skip_matrix": True,
|
||||
"skip_gotify": True
|
||||
},
|
||||
)
|
||||
|
||||
@@ -603,6 +604,11 @@ class Twitch(object):
|
||||
"\n".join(drop_messages),
|
||||
Events.DROP_STATUS,
|
||||
)
|
||||
if Settings.logger.gotify is not None:
|
||||
Settings.logger.gotify.send(
|
||||
"\n".join(drop_messages),
|
||||
Events.DROP_STATUS,
|
||||
)
|
||||
|
||||
except requests.exceptions.ConnectionError as e:
|
||||
logger.error(
|
||||
|
||||
Reference in New Issue
Block a user