vasusen-code / SaveRestrictedContentBot

Stable telegram bot to save Restricted content with custom thumbnail support.
GNU Affero General Public License v3.0
1.62k stars 2.85k forks source link

Python problem #101

Open Ali777666 opened 1 year ago

Ali777666 commented 1 year ago

Traceback (most recent call last): File "C:\Users\alitu\AppData\Local\Programs\Python\Python310\lib\runpy.py", line 187, in _run_module_as_main mod_name, mod_spec, code = _get_module_details(mod_name, _Error) File "C:\Users\alitu\AppData\Local\Programs\Python\Python310\lib\runpy.py", line 146, in _get_module_details return _get_module_details(pkg_main_name, error) File "C:\Users\alitu\AppData\Local\Programs\Python\Python310\lib\runpy.py", line 110, in _get_module_details import(pkg_name) File "C:\Users\alitu\Desktop\SaveRestrictedContentBot-master\SaveRestrictedContentBot-master\main__init__.py", line 24, in userbot = Client("saverestricted", session_string=SESSION, api_hash=API_HASH, api_id=API_ID) TypeError: Client.init() got an unexpected keyword argument 'session_string'

timgahmen commented 6 months ago

.env File existing?