⚙️ Cogs
This commit is contained in:
@ -36,7 +36,7 @@ def giveMoney(user,targetUser,amount):
|
||||
targetUser = getID(targetUser)
|
||||
|
||||
if amount > 0:
|
||||
if targetUser.startswith("#"):
|
||||
if targetUser != None:
|
||||
if user in data:
|
||||
if data[user]["money"] >= amount:
|
||||
addMoney(user,-1 * amount)
|
||||
|
Reference in New Issue
Block a user