From a9a24b57c319e0eb3780ee828d6c50aa641d6245 Mon Sep 17 00:00:00 2001 From: norohind <60548839+norohind@users.noreply.github.com> Date: Fri, 15 Apr 2022 01:07:59 +0300 Subject: [PATCH] Ru squads hook: pretty show tag on squad discover --- hooks/RuSquads.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hooks/RuSquads.py b/hooks/RuSquads.py index 8ca5454..2185099 100644 --- a/hooks/RuSquads.py +++ b/hooks/RuSquads.py @@ -21,7 +21,7 @@ class DeleteRuSquad(Hook): if last_record is not None: # i.e. we have a record in db for this squad if 32 in json.loads(last_record['user_tags']): # 32 - russian tag - message = f'Deleted RU squad `{last_record["name"]}`\nplatform: {last_record["platform"]}, members: {last_record["member_count"]}, tag: {last_record["tag"]}, ' \ + message = f'Deleted RU squad `{last_record["name"]}` [{last_record["tag"]}]\nplatform: {last_record["platform"]}, members: {last_record["member_count"]}, ' \ f'created: {last_record["created"]}, owner: `{last_record["owner_name"]}`' HookUtils.notify_discord(message)