south1907 / addmember-telegram

Add member auto to telegram group. Link youtube: https://www.youtube.com/watch?v=qnNsgHCMQYk
GNU General Public License v3.0
253 stars 232 forks source link

Full Stable #58

Closed nimma0001 closed 2 years ago

nimma0001 commented 2 years ago
  1. there was a mistaken flood error fixed
  2. Fixed member not adding after sleep time
  3. Added Use of ctrl+z or c Command to stop script gracefully
  4. No database error
  5. Many other
  6. Edit Readme for new instructions
    • Added my credit for me
    • Added new short guide
    • added alpha branch link [link to my repo] fork of ur
yarinas5 commented 2 years ago

Error while add_st.py :(

+----- login success Traceback (most recent call last): File "C:\Users\Desktop\Scraper\New\add_st.py", line 35, in client(JoinChannelRequest(group_source_username)) File "C:\Users\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\telethon\sync.py", line 39, in syncified return loop.run_until_complete(coro) File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.1776.0_x64qbz5n2kfra8p0\lib\asyncio\base_events.py", line 646, in run_until_complete return future.result() File "C:\Users\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\telethon\client\users.py", line 30, in call__
return await self._call(self._sender, request, ordered=ordered) File "C:\Users\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\telethon\client\users.py", line 84, in _call
result = await future telethon.errors.rpcerrorlist.ChannelPrivateError: The channel specified is private and you lack permission to access it. Another reason may be that you were banned from it (caused by JoinChannelRequest)

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "C:\Users\Desktop\Scraper\New\add_st.py", line 39, in client(ImportChatInviteRequest(group_source_username)) File "C:\Users\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\telethon\sync.py", line 39, in syncified return loop.run_until_complete(coro) File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.1776.0_x64qbz5n2kfra8p0\lib\asyncio\base_events.py", line 646, in run_until_complete return future.result() File "C:\Users\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\telethon\client\users.py", line 30, in call__
return await self._call(self._sender, request, ordered=ordered) File "C:\Users\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\telethon\client\users.py", line 84, in _call
result = await future telethon.errors.rpcerrorlist.InviteHashExpiredError: The chat the user tried to join has expired and is not valid anymore (caused by ImportChatInviteRequest)