Update Main.py

This commit is contained in:
Sara Sayed 2025-01-19 21:04:24 +05:30 committed by GitHub
parent 1843f45fec
commit 199d41984e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -95,7 +95,7 @@ def Command(msg, clientid):
cost_of_command = set.availablecommands[command] cost_of_command = set.availablecommands[command]
have_coins = nc.getcoins(accountid) have_coins = nc.getcoins(accountid)
if have_coins >= cost_of_command: if have_coins >= cost_of_command:
Management.ExcelCommand(command, arguments, clientid, accountid) Management.ExcelCommand(command, arguments, clientid, accountid, Arguments)
cc.addcoins(accountid, cost_of_command * -1) cc.addcoins(accountid, cost_of_command * -1)
sendall(f"Success! /{command} cost you {tic}{cost_of_command}.") sendall(f"Success! /{command} cost you {tic}{cost_of_command}.")
else: else: