06-sep: [fix] add genero command handling in procesar()
This commit is contained in:
@@ -786,6 +786,12 @@ def procesar(texto, chat_id):
|
||||
procesar_pelis(chat_id)
|
||||
elif t in ("series", "/series"):
|
||||
procesar_series(chat_id)
|
||||
elif t in ("genero",):
|
||||
flujo_genero[chat_id] = "esperando_tipo"
|
||||
flujo_genero_tipo.pop(chat_id, None)
|
||||
enviar("🎭 Catálogo por <b>género</b> (30 más descargadas). Primero elige el tipo:\n"
|
||||
"<b>1.</b> 🎬 Películas\n"
|
||||
"<b>2.</b> 📺 Series\n\nResponde el <b>1</b> o el <b>2</b>.", chat_id)
|
||||
elif t.startswith("pelicula ") or t.startswith("/pelicula "):
|
||||
nombre = texto.split(" ", 1)[1].strip()
|
||||
procesar_buscador_pelicula(nombre, chat_id)
|
||||
|
||||
Reference in New Issue
Block a user