EconomyCord
Search…
Creating/updating user data

Checking if a user is in the database

1
await EcoCord.check_user(userid)
Copied!
You do not need to do that if you already have turned auto_check_users to True

Updating user data

Updating balances
1
await EcoCord.add_balance(userid, amount)
2
await EcoCord.remove_balance(userid, amount)
Copied!
Updating banks
1
await EcoCord.add_bank(userid, amount)
2
await EcoCord.remove_bank(userid, amount)
Copied!
Transferring balances
1
await EcoCord.remove_bank(fromid, toid, amount)
Copied!
Last modified 9mo ago