clearer modlog note for under siege

master
Aevann 2023-03-02 02:37:17 +02:00
parent a6289c6e99
commit aeb4cf2258
1 changed files with 1 additions and 1 deletions

View File

@ -425,7 +425,7 @@ def execute_under_siege(v:User, target:Optional[Union[Submission, Comment]], bod
kind="shadowban",
user_id=AUTOJANNY_ID,
target_user_id=v.id,
_note=f'reason: "Under Siege ({type} {v.age}s)"'
_note=f'reason: "Under Siege ({type}, {v.age} seconds)"'
)
g.db.add(ma)