It “freezes” because it is waiting for a line to arrive. If the server isn’t sending anything at the moment, your bot will wait until the server has something to send again. Consider reading the messages asynchronously.
It “freezes” because it is waiting for a line to arrive. If the server isn’t sending anything at the moment, your bot will wait until the server has something to send again. Consider reading the messages asynchronously.