Advertisement
Guest User

Untitled

a guest
Jul 24th, 2023
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.96 KB | None | 0 0
  1. Client has not been started yet
  2. Traceback (most recent call last):
  3. File "C:\Users\test2\AppData\Local\Programs\Python\Python38\lib\site-packages\pyrogram\dispatcher.py", line 240, in handler_worker
  4. await handler.callback(self.client, *args)
  5. File "C:\Users\test2\AppData\Local\Programs\Python\Python38\2.py", line 28, in enable_spam
  6. await send_message_to_all_apps(
  7. File "C:\Users\test2\AppData\Local\Programs\Python\Python38\2.py", line 37, in send_message_to_all_apps
  8. await app.send_message(chat_id, text)
  9. File "C:\Users\test2\AppData\Local\Programs\Python\Python38\lib\site-packages\pyrogram\methods\messages\send_message.py", line 128, in send_message
  10. peer=await self.resolve_peer(chat_id),
  11. File "C:\Users\test2\AppData\Local\Programs\Python\Python38\lib\site-packages\pyrogram\methods\advanced\resolve_peer.py", line 59, in resolve_peer
  12. raise ConnectionError("Client has not been started yet")
  13. ConnectionError: Client has not been started yet
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement