Hello all. I finally figured out how to set up my own bot. It works for a burst of messages and then stops. This is what I’m seeing: Can anybody tell me what to look for or how to fix this?
(.venvs) nonsudo@debian-deltabot:~$ simplebot -a 1234@1234.com serve
2023-07-20 09:25:46,288 - simplebot - INFO - bot listening at: 1234@1234.com
2023-07-20 09:25:51,682 - simplebot - ERROR - Could not find the input entity for PeerChannel(channel_id=1329205465) (PeerChannel). Please read Entities — Telethon 1.28.5 documentation to find out more details.
Traceback (most recent call last):
File “/home/nonsudo/.venvs/lib/python3.9/site-packages/simplebot_tgchan/init.py”, line 197, in check_channels
await check_channel(bot, client, chan)
File “/home/nonsudo/.venvs/lib/python3.9/site-packages/simplebot_tgchan/init.py”, line 206, in check_channel
channel = await client.get_entity(PeerChannel(dbchan.id))
File “/home/nonsudo/.venvs/lib/python3.9/site-packages/telethon/client/users.py”, line 287, in get_entity
inputs.append(await self.get_input_entity(x))
File “/home/nonsudo/.venvs/lib/python3.9/site-packages/telethon/client/users.py”, line 461, in get_input_entity
raise ValueError(
ValueError: Could not find the input entity for PeerChannel(channel_id=1329205465) (PeerChannel). Please read Entities — Telethon 1.28.5 documentation to find out more details.
2023-07-20 09:30:52,282 - simplebot - ERROR - Could not find the input entity for PeerChannel(channel_id=1329205465) (PeerChannel). Please read Entities — Telethon 1.28.5 documentation to find out more details.
Traceback (most recent call last):
File “/home/nonsudo/.venvs/lib/python3.9/site-packages/simplebot_tgchan/init.py”, line 197, in check_channels
await check_channel(bot, client, chan)
File “/home/nonsudo/.venvs/lib/python3.9/site-packages/simplebot_tgchan/init.py”, line 206, in check_channel
channel = await client.get_entity(PeerChannel(dbchan.id))
File “/home/nonsudo/.venvs/lib/python3.9/site-packages/telethon/client/users.py”, line 287, in get_entity
inputs.append(await self.get_input_entity(x))
File “/home/nonsudo/.venvs/lib/python3.9/site-packages/telethon/client/users.py”, line 461, in get_input_entity
raise ValueError(
ValueError: Could not find the input entity for PeerChannel(channel_id=1329205465) (PeerChannel). Please read Entities — Telethon 1.28.5 documentation to find out more details.