When I wear cycling shorts with a chamois, I don't wear underwear. One benefit of the chamois is no seams, which underwear would negate.

When I wear regular shorts, pedal pushers or jeans I wear underwear, but try to wear microfiber undies (depending on length of ride) or cotton underwear. These rides are usually under 15 miles and are running errands, not continuously in the saddle.