DEBUG_MODE: bool = False
SERVER_ID: str = "u3"
BET: int = 5000
FILE_DIRECTORY: str = "./accounts.txt"
PASSWORD: str = "byzakovskiy"
class Farm:
def __init__(self, SERVER_ID DEBUG_MODE):
self.main = durakonline.Client(MAIN_TOKEN, server_id=SERVER_ID, tag="[MAIN]", debug=DEBUG_MODE)
self.bot = durakonline.Client(tag="[BOT]", server_id=SERVER_ID, debug=DEBUG_MODE)
self.log("Authorized account\n")
self.pages = [
self.from_file,
self.auto_reg,
]
print("Where to get accounts?:\n 1: From file;\n 2: Autoreg.")
MAIN_TOKEN: str = ""
DEBUG_MODE: bool = False
SERVER_ID: str = "u1"
BET: int = 5000
FILE_DIRECTORY: str = "./accounts.txt"
PASSWORD: str = "byzakovskiy"
class Farm:
def __init__(self):
self.main = durakonline.Client(MAIN_TOKEN, server_id=SERVER_ID, tag="[MAIN]", debug=DEBUG_MODE)
self.bot = durakonline.Client(tag="[BOT]", server_id=SERVER_ID, debug=DEBUG_MODE)
self.log("Authorized account\n")
self.pages = [
self.from_file,
self.auto_reg,
]
print("Where to get accounts?:\n 1: From file;\n 2: Autoreg.")
script = Farm()
TypeError: Farm.__init__() missing 1 required positional argument: 'SERVER_ID'
Ошибка.