[BUG] config file is no longer supported in Pyrogram
phoenixatom opened this issue · comments
python -m userbot
Traceback (most recent call last):
File "C:\Users\root\AppData\Local\Programs\Python\Python39\lib\runpy.py", line 188, in _run_module_as_main mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
File "C:\Users\root\AppData\Local\Programs\Python\Python39\lib\runpy.py", line 147, in _get_module_details return _get_module_details(pkg_main_name, error)
File "C:\Users\root\AppData\Local\Programs\Python\Python39\lib\runpy.py", line 111, in get_module_details import(pkg_name)
File "C:\Users\root\Documents\userbot\userbot_init.py", line 37, in e> UserBot = UserBot(version)
File "C:\Users\root\Documents\userbot\userbot\userbot.py", line 22, in _init _ super().init(
TypeError: init() got an unexpected keyword argument 'config_file'
Originally posted by @OcroCodeChain in #56 (comment)
Fixed in 8347399
CC: @OrcoCodeChain