🐛
This commit is contained in:
1 parent
88b6f4ac60
commit
0739d9e3ca
1 file changed
+4
@@ -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