fdfd
This commit is contained in:
parent
0fb3c4d142
commit
3c43f0f275
2 changed files with 24 additions and 0 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue