gd
gd copied to clipboard
不知道启动为啥报错
2022-04-24 20:49:34,044 asyncio ERROR [default_exception_handler] Task exception was never retrieved future: <Task finished name='Task-11' coro=<hello() done, defined at /ql/jbot/main.py:71> exception=ValueError('Could not find the input entity for PeerUser(user_id=1046689044) (PeerUser). Please read https://docs.telethon.dev/en/latest/concepts/entities.html to find out more details.')> Traceback (most recent call last): File "/ql/jbot/main.py", line 76, in hello await jdbot.send_message(chat_id, f'{str(hello_word)}\n\n\t{info}', link_preview=False) File "/usr/lib/python3.8/site-packages/telethon/client/messages.py", line 810, in send_message entity = await self.get_input_entity(entity) File "/usr/lib/python3.8/site-packages/telethon/client/users.py", line 466, in get_input_entity raise ValueError( ValueError: Could not find the input entity for PeerUser(user_id=1046689044) (PeerUser). Please read https://docs.telethon.dev/en/latest/concepts/entities.html to find out more details.