forked from rDrama/rDrama
1
0
Fork 0

more accurate messages for usurpations

master
Aevann 2024-02-13 11:41:38 +02:00
parent e8c8fa6b17
commit c53af977a1
1 changed files with 2 additions and 2 deletions

View File

@ -325,9 +325,9 @@ def group_usurp(v, group_name):
).first()
if less_than_month_old_memberships or not month_old_applications:
abort(403, f"@{group.owner.username} has reviewed a membership application in the past month, so you can't usurp them!")
abort(403, "The current regime has reviewed a membership application in the past month, so you can't usurp them!")
send_repeatable_notification(group.owner_id, f"@{v.username} has usurped control of !{group.name} from you. This was possible because you spent more than a month not reviewing membership applications. Be active next time sweaty :!marseycheeky:")
send_repeatable_notification(group.owner_id, f"@{v.username} has usurped control of !{group.name} from you. This was possible because you (and your mods) have spent more than a month not reviewing membership applications. Be active next time sweaty :!marseycheeky:")
group.owner_id = v.id
g.db.add(group)