Bot can't write messages even though the account isn't banned

The script is sending well-formed PRIVMSG commands to the server but doesn’t get any response. As I said, it gets a response to commands like JOIN and until yesterday, it worked. Currently, I am not sending an \r\n at the end, but should that really matter?