from whatsappy import whatsapp

whatsapp.login()

whatsapp.select_chat('Family Group')

while True:
    if whatsapp.new_message():
        if whatsapp.last_message() == 'Good Morning!':
            whatsapp.reply('Good Morning!') # <--

whatsapp.exit()