Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Client has not been started yet
- Traceback (most recent call last):
- File "C:\Users\test2\AppData\Local\Programs\Python\Python38\lib\site-packages\pyrogram\dispatcher.py", line 240, in handler_worker
- await handler.callback(self.client, *args)
- File "C:\Users\test2\AppData\Local\Programs\Python\Python38\2.py", line 28, in enable_spam
- await send_message_to_all_apps(
- File "C:\Users\test2\AppData\Local\Programs\Python\Python38\2.py", line 37, in send_message_to_all_apps
- await app.send_message(chat_id, text)
- File "C:\Users\test2\AppData\Local\Programs\Python\Python38\lib\site-packages\pyrogram\methods\messages\send_message.py", line 128, in send_message
- peer=await self.resolve_peer(chat_id),
- File "C:\Users\test2\AppData\Local\Programs\Python\Python38\lib\site-packages\pyrogram\methods\advanced\resolve_peer.py", line 59, in resolve_peer
- raise ConnectionError("Client has not been started yet")
- ConnectionError: Client has not been started yet
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement