propagate age input ban to alts

master
Aevann 2024-11-14 17:54:38 +02:00
parent da38f01e7c
commit b1e86067b3
1 changed files with 2 additions and 0 deletions

View File

@ -1166,5 +1166,7 @@ def settings_age(v):
remaining_days = remaining_years * 365 remaining_days = remaining_years * 365
v.ban(reason="Underage (age input)", days=remaining_days) v.ban(reason="Underage (age input)", days=remaining_days)
for x in get_alt_graph(v.id):
x.ban(reason="Underage (age input)", days=remaining_days, modlog=False, original_user=v)
return {"message": "Age successfully updated!"} return {"message": "Age successfully updated!"}