A diet is some form of assembly. People in the assembly meet (originally they did that daily, hence the name) to discuss and decide things. Common examples are the Diet of Worms or the Diet of Speyer.