this:
                  
                  
                  2023-10-31 14:03:40,812 - telethon.network.mtprotosender - INFO - Disconnecting from 149.154.167.91:443/TcpFull...
                  
                  
                  2023-10-31 14:03:40,814 - telethon.network.mtprotosender - INFO - Disconnection from 149.154.167.91:443/TcpFull complete!
                  
                  
                  2023-10-31 14:03:40,917 - telethon.network.mtprotosender - INFO - Not disconnecting (already have no connection)
                  
                  
                  
                  
                  
                  why does it disconnecting twice?
                  
                  
                  
                  
                  
                  I'm running the bot via:
                  
                  
                  bot.run_until_disconnected()
                  
                  
                
It's not important, maybe make sure the run_until_disconnected is not inside client's async with block
Обсуждают сегодня