There are two parallel lines carrying 240 V current. The voltage current will pass through the body if both the wires are touched at the same time. But, when the bird sits on only one wire, there is no potential difference between the legs. So, no current passes through the bird. Hence, it doesn't feel any electric shock.