Dice the onion. Heat the olive oil over medium heat and sauté the onion cubes until translucent.
Rinse the millet in a colander and add to the onions. Pour in the vegetable stock, bring to the boil, turn down the heat and cover the millet for 20 minutes over a low heat.
Add the tomatoes with the spices, chocolate and pressed garlic to the millet. Drain the beans and rinse in a colander. Drain the corn and add to the millet with the beans. Bring to the boil and simmer over low heat for 15 minutes.