Creating/updating user data

‚Äč

Checking if a user is in the database

await EcoCord.check_user(userid)

You do not need to do that if you already have turned auto_check_users to True

Updating user data

Updating balances

await EcoCord.add_balance(userid, amount)
await EcoCord.remove_balance(userid, amount)

Updating banks

await EcoCord.add_bank(userid, amount)
await EcoCord.remove_bank(userid, amount)

Transferring balances

await EcoCord.remove_bank(fromid, toid, amount)