A better implementation of my earlier bot pyWhatsapp