Skip to content

Commit 6826bcb

Browse files
committed
Improve message of wring date format on pycamp creation
1 parent 76f9524 commit 6826bcb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/pycamp_bot/commands/manage_pycamp.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,8 @@ async def define_start_date(update, context):
105105
except ValueError:
106106
await context.bot.send_message(
107107
chat_id=update.message.chat_id,
108-
text="mmm no entiendo esa fecha, de nuevo?"
108+
text="mmm no entiendo esa fecha\. El formato esperado es `yyyy-mm-dd`\. ¿De nuevo?",
109+
parse_mode="MarkdownV2"
109110
)
110111
return SET_DATE_STATE
111112

0 commit comments

Comments
 (0)