mirror of
https://github.com/norohind/jubilant-system-core.git
synced 2025-07-16 16:31:02 +03:00
Compare commits
2 Commits
01a5590f7a
...
8cd624aed3
Author | SHA1 | Date | |
---|---|---|---|
8cd624aed3 | |||
819fb93861 |
@ -28,8 +28,9 @@ class UpdateRuSquad(Hook):
|
||||
def update(self, operation_id: int, last_records: list[dict]) -> None:
|
||||
if len(last_records) == 1:
|
||||
# Squad just discovered
|
||||
last_records[0]['user_tags'] = json.loads(last_records[0]['user_tags'])
|
||||
record = last_records[0]
|
||||
if '32' in record['user_tags']:
|
||||
if 32 in record['user_tags']:
|
||||
message = f"""
|
||||
name: `{record['name']}` [{record['tag']}]
|
||||
members: {record['member_count']}
|
||||
|
Loading…
x
Reference in New Issue
Block a user