Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
b0868c5bd4
|
|||
|
1c6720cc10
|
@@ -1,6 +1,6 @@
|
|||||||
maubot: 0.1.0
|
maubot: 0.1.0
|
||||||
id: dev.logal.owncastsentry
|
id: dev.logal.owncastsentry
|
||||||
version: 1.0.2
|
version: 1.0.3
|
||||||
license: Apache-2.0
|
license: Apache-2.0
|
||||||
modules:
|
modules:
|
||||||
- owncastsentry
|
- owncastsentry
|
||||||
|
|||||||
@@ -25,7 +25,7 @@ OWNCAST_CONFIG_PATH = "/api/config"
|
|||||||
|
|
||||||
# User agent to send with all HTTP requests.
|
# User agent to send with all HTTP requests.
|
||||||
USER_AGENT = (
|
USER_AGENT = (
|
||||||
"OwncastSentry/1.0.2 (bot; +https://git.logal.dev/LogalDeveloper/OwncastSentry)"
|
"OwncastSentry/1.0.3 (bot; +https://git.logal.dev/LogalDeveloper/OwncastSentry)"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
@@ -353,7 +353,7 @@ class OwncastSentry(Plugin):
|
|||||||
if title != "":
|
if title != "":
|
||||||
body_text += "\nStream Title: " + title
|
body_text += "\nStream Title: " + title
|
||||||
|
|
||||||
body_text += "\n\nTo tune in, visit: https://" + domain + "/\n\n"
|
body_text += "\n\nTo tune in, visit: https://" + domain + "/"
|
||||||
|
|
||||||
if "tags" in stream_config and len(stream_config["tags"]) > 0:
|
if "tags" in stream_config and len(stream_config["tags"]) > 0:
|
||||||
body_text += "\n\n"
|
body_text += "\n\n"
|
||||||
|
|||||||
Reference in New Issue
Block a user