Update
This commit is contained in:
@@ -172,7 +172,7 @@ def send_to_rocket_chat(alias: str, text: str, attachments: Optional[List[Dict[s
|
|||||||
logging.exception("%s: failed to send to Rocket.Chat: %s", alias, e)
|
logging.exception("%s: failed to send to Rocket.Chat: %s", alias, e)
|
||||||
|
|
||||||
def send_startup_message(feed_name: str, chat_url: str):
|
def send_startup_message(feed_name: str, chat_url: str):
|
||||||
logging.info(f"Sent startup message to {feed_name}")
|
logging.info(f"Sent startup message to {feed_name}")
|
||||||
send_to_rocket_chat(feed_name.capitalize(), f"{feed_name.capitalize()} integration started successfully.", None, chat_url)
|
send_to_rocket_chat(feed_name.capitalize(), f"{feed_name.capitalize()} integration started successfully.", None, chat_url)
|
||||||
|
|
||||||
# ---------------------------
|
# ---------------------------
|
||||||
|
|||||||
Reference in New Issue
Block a user