mirror of
https://github.com/marcogll/talia_bot.git
synced 2026-01-13 13:25:19 +00:00
docs: Add comments and document /create_tag command
This commit adds detailed inline comments to the `app/modules/create_tag.py` module to improve code clarity and maintainability. It also updates the `README.md` file to include a new section documenting the functionality and usage of the `/create_tag` command.
This commit is contained in:
15
README.md
15
README.md
@@ -132,6 +132,21 @@ Cada módulo cumple una responsabilidad única:
|
||||
|
||||
---
|
||||
|
||||
## ⚡ Comandos Adicionales
|
||||
|
||||
### `/create_tag`
|
||||
|
||||
Este comando inicia un flujo conversacional para generar un tag de identificación en formato Base64, compatible con aplicaciones de escritura NFC. El bot solicitará los siguientes datos:
|
||||
|
||||
* **Nombre**
|
||||
* **Número de empleado**
|
||||
* **Sucursal**
|
||||
* **ID de Telegram**
|
||||
|
||||
Al finalizar, el bot devolverá una cadena de texto en Base64 que contiene un objeto JSON con la información proporcionada.
|
||||
|
||||
---
|
||||
|
||||
## 🔁 Flujo General de Ejecución
|
||||
|
||||
1. Usuario envía mensaje o interactúa con botones
|
||||
|
||||
Reference in New Issue
Block a user