mirror of
https://github.com/marcogll/talia_bot.git
synced 2026-01-13 21:35:19 +00:00
docs: Add comprehensive comments and update README
This commit adds detailed inline comments and docstrings to all modules within the `app/modules/` directory to improve code clarity, readability, and maintainability. It also updates the `README.md` file to include `create_tag.py` and `print.py` in the "Módulos Funcionales" section, ensuring the documentation is synchronized with the codebase.
This commit is contained in:
@@ -1,10 +1,18 @@
|
||||
# app/modules/admin.py
|
||||
"""
|
||||
This module contains administrative functions for the bot.
|
||||
|
||||
Currently, it provides a simple way to check the system's status.
|
||||
"""
|
||||
|
||||
def get_system_status():
|
||||
"""
|
||||
Returns the current status of the bot and its integrations.
|
||||
Returns a formatted string with the current status of the bot and its integrations.
|
||||
|
||||
This function currently returns a hardcoded status message. In the future,
|
||||
it could be expanded to perform real-time checks on the different services.
|
||||
"""
|
||||
# TODO: Implement real-time status checks
|
||||
# TODO: Implement real-time status checks for more accurate monitoring.
|
||||
status_text = (
|
||||
"📊 *Estado del Sistema*\n\n"
|
||||
"- *Bot Principal:* Activo ✅\n"
|
||||
|
||||
Reference in New Issue
Block a user