refactor: Migrate bot core and modules from talia_bot to bot directory, update start_bot.sh and Dockerfile, and modify README.md.

This commit is contained in:
Marco Gallegos
2025-12-21 18:00:31 -06:00
parent 6e1a2f0102
commit 13141d6ed3
38 changed files with 112 additions and 86 deletions

20
bot/modules/admin.py Normal file
View File

@@ -0,0 +1,20 @@
# app/modules/admin.py
# Este módulo contiene funciones administrativas para el bot.
# Por ahora, permite ver el estado general del sistema.
def get_system_status():
"""
Devuelve un mensaje con el estado actual del bot y sus conexiones.
Actualmente el mensaje es fijo (hardcoded), pero en el futuro podría
hacer pruebas reales de conexión.
"""
# TODO: Implementar pruebas de estado en tiempo real para un monitoreo exacto.
status_text = (
"📊 *Estado del Sistema*\n\n"
"- *Bot Principal:* Activo ✅\n"
"- *Conexión Telegram API:* Estable ✅\n"
"- *Integración n8n:* Operacional ✅\n"
"- *Google Calendar:* Conectado ✅"
)
return status_text