forked from rDrama/rDrama
1
0
Fork 0

add nuke and un-nuke notifications

master
Aevann1 2022-06-15 21:36:02 +02:00
parent 3bc98f0a6b
commit f4a6e76ab5
1 changed files with 4 additions and 0 deletions

View File

@ -1560,6 +1560,8 @@ def admin_nuke_user(v):
)
g.db.add(ma)
notify_mod_action(v.id, f"@{v.username} has nuked @{user.username}")
g.db.commit()
return redirect(user.url)
@ -1595,6 +1597,8 @@ def admin_nunuke_user(v):
)
g.db.add(ma)
notify_mod_action(v.id, f"@{v.username} has un-nuked @{user.username}")
g.db.commit()
return redirect(user.url)