⚙️ Cogs
This commit is contained in:
1 parent
2d5b4e61c4
commit
5151e1faf7
9 files changed
+601
-588
No files matched your search
@@ -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