From 79fbbb6826eae134c6df22c6aa49359050905ff2 Mon Sep 17 00:00:00 2001 From: norohind <60548839+norohind@users.noreply.github.com> Date: Sat, 30 Oct 2021 15:08:49 +0300 Subject: [PATCH] add tag to update hook message --- hooks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hooks.py b/hooks.py index 42eb2a0..2f9528d 100644 --- a/hooks.py +++ b/hooks.py @@ -192,7 +192,7 @@ def detect_important_changes_ru_squads(squad_info: dict, db_conn: sqlite3.Connec message = message + f'Minor faction changed: {old_faction} -> {new_faction}\n' if len(message) != 0: - utils.notify_discord(f'State changing for `{squad_info["name"]}`\n' + utils.notify_discord(f'State changing for `{squad_info["name"]}` {squad_info["tag"]}\n' f'platform: {squad_info["platform"]}\nmembers: {squad_info["memberCount"]}\n' f'created: {squad_info["created"]}\n' + message)