python bot now select cmd among valid choices