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,11 +1,19 @@
|
||||
# app/modules/agenda.py
|
||||
"""
|
||||
This module is responsible for handling agenda-related requests.
|
||||
|
||||
It provides functionality to fetch and display the user's schedule for the day.
|
||||
"""
|
||||
|
||||
def get_agenda():
|
||||
"""
|
||||
Fetches and displays the user's agenda for today.
|
||||
For now, it returns a hardcoded sample agenda.
|
||||
Fetches and displays the user's agenda for the current day.
|
||||
|
||||
Currently, this function returns a hardcoded sample agenda for demonstration
|
||||
purposes. The plan is to replace this with a real integration that fetches
|
||||
events from a service like Google Calendar.
|
||||
"""
|
||||
# TODO: Fetch agenda from Google Calendar
|
||||
# TODO: Fetch the agenda dynamically from Google Calendar.
|
||||
agenda_text = (
|
||||
"📅 *Agenda para Hoy*\n\n"
|
||||
"• *10:00 AM - 11:00 AM*\n"
|
||||
|
||||
Reference in New Issue
Block a user