From 6013a67a7338688116e75123dbcec075e4778727 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9s=20Delfino?= Date: Sat, 22 Mar 2025 16:32:39 -0300 Subject: [PATCH] Fix markdown in cronograma --- src/pycamp_bot/commands/schedule.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/pycamp_bot/commands/schedule.py b/src/pycamp_bot/commands/schedule.py index 0bf5f97..38c0b0c 100644 --- a/src/pycamp_bot/commands/schedule.py +++ b/src/pycamp_bot/commands/schedule.py @@ -165,7 +165,7 @@ async def check_day_tab(day, slots, cronograma, i): async def show_schedule(update, context): slots = Slot.select() projects = Project.select() - cronograma = "*Cronograma:* \n" + cronograma = '' for i, slot in enumerate(slots): day = DIAS[slot.code[0]] @@ -173,8 +173,8 @@ async def show_schedule(update, context): for project in projects: if project.slot_id == slot.id: - cronograma += f'*-* {slot.start}:00hs = *{escape_markdown(project.name)}.*\n' - cronograma += f'A cargo de 👉🏼 {"@" + escape_markdown(project.owner.username)}\n' + cronograma += f'{slot.start}:00 *{escape_markdown(project.name)}*\n' + cronograma += f'Owner: @{escape_markdown(project.owner.username)}\n' await context.bot.send_message( chat_id=update.message.chat_id,