put the resurrector as janny

master
Aevann 2024-10-06 15:08:59 +03:00
parent 6c1af4a69e
commit b4a9f0bcf2
1 changed files with 3 additions and 0 deletions

View File

@ -1098,6 +1098,9 @@ def resurrect_hole(v, hole):
)
g.db.add(ma)
mod = Mod(user_id=v.id, hole=hole.name)
g.db.add(mod)
badge_grant(badge_id=351, user=v, description=f'Resurrected a hole (/h/{hole})')
text = f':marseyrises: /h/{hole} has been resurrected by @{v.username}'