🐛
This commit is contained in:
@ -35,6 +35,7 @@ def giveMoney(user,targetUser,amount):
|
||||
|
||||
targetUser = getID(targetUser)
|
||||
|
||||
if amount > 0:
|
||||
if targetUser.startswith("#"):
|
||||
if user in data:
|
||||
if data[user]["money"] >= amount:
|
||||
@ -50,3 +51,6 @@ def giveMoney(user,targetUser,amount):
|
||||
else:
|
||||
logThis("They weren't in the system")
|
||||
return "The target doesn't exist"
|
||||
else:
|
||||
logThis("They tried to steal")
|
||||
return "Yeah, no. You can't do that"
|
||||
|
Reference in New Issue
Block a user