forked from rDrama/rDrama
1
0
Fork 0

make modaction when under siege is changed

master
Aevann 2024-02-05 07:47:26 +02:00
parent 359e0510f5
commit c308606d0f
1 changed files with 7 additions and 0 deletions

View File

@ -2148,4 +2148,11 @@ def change_under_siege_post(v):
thresholds[key] = int(request.values.get(key))
cache.set("under_siege_thresholds", thresholds)
ma = ModAction(
kind="change_under_siege",
user_id=v.id,
)
g.db.add(ma)
return {"message": "Thresholds changed successfully!"}