Traveling to Ghana with ID Card or NIN

Traveling To Ghana, Senegal with NIN or International Passport?

Do I need a passport to travel to Ghana, Senegal, or other West African countries? NO| But with exceptons.