synchronous usage broken
Opened this issue · 0 comments
gmankab commented
Checklist
- I am sure the error is coming from Pyrofork's code and not elsewhere
- I have searched in the issue tracker for similar bug reports, including closed ones
- I ran
pip3 install -U git+https://github.com/Mayuri-Chan/pyrofork
and reproduced the issue using the latest development version
Description
there is a synchronous useage guide in docs - https://pyrofork.mayuri.my.id/main/topics/synchronous.html
when i run the code it runs, throws no errors, but there are no any sent messages
Steps to reproduce
- copy code from synchronous usage guide
- run the code
- see that message was not sent
Code example
from pyrogram import Client
app = Client("my_account")
with app:
app.send_message("me", "Hi!")
print('sent')
Logs
.venv/bin/python test.py
sent