This commit is contained in:
Aevann1 2021-07-29 08:40:08 +02:00
parent 0fb3c4d142
commit 3c43f0f275
2 changed files with 24 additions and 0 deletions

View file

@ -289,6 +289,9 @@ def u_username(username, v=None):
v.dramacoins -= 500
v.rent_utc = int(time.time())
g.db.add(v)
u.dramacoins += 500
g.db.add(u)
send_notification(1046, u, f"@{v.username} has paid rent!")
paidrent = True
if not paidrent: