Accounts

This class handles the account tracking and distribution. Account sheet is retrieved at bot init, and then all operations are done in memory. Account sheet is updated at the end of each match. This way, if players don’t accept their accounts or if a match is canceled, account info is not tracked in the sheet. If the accounts in memory and on account sheet are ever different, account tracking and distribution will break. Therefore the account sheet should be read only for humans on google drive.

class Account(a_id, username, password, unique_usages)

Bases: object

Account object, each of these represent one single account

update(username, password)
property is_destroyed
property nb_unique_usages
property unique_usages
property username
property password
property id
property str_id
property is_validated
property last_usage
clean()
add_usage(p_id, m_number)
async validate()
terminate()