Skip to content

Commit

Permalink
updated
Browse files Browse the repository at this point in the history
  • Loading branch information
xsa-dev committed Aug 31, 2023
1 parent fc77dd5 commit d5fb4b0
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 9 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ COPY feature_x.py /app/
COPY .env /app/
RUN mkdir /app/voice/

CMD ["python", "source/app.py"]
CMD ["python", "app.py"]
18 changes: 10 additions & 8 deletions app.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,18 +116,20 @@ async def about_me(message: types.Message, state: FSMContext):
button1 = types.KeyboardButton(MY_PHOTOS_1['name'])
button2 = types.KeyboardButton(MY_PHOTOS_2['name'])
button3 = types.KeyboardButton("/start")
button4 = types.KeyboardButton("/feature")
keyboard.add(button1, button2)
keyboard.add(button3)
answer_text = ('<b>about_me<b>\r\n' + """
Мое имя Алексей Савин. Мне 35 лет. Я из Москвы и живу в Москве всю свою жизнь. Мой сайт: https://alekseysavin.com
А еще у меня есть микроблог: https://t.me/xsa_logs
Очень интересно сделать свой курс на тему больших языковых моделей.\r\n
Тут короткая <a src="https://telegra.ph/Istoriya-lyubvi-08-31">история о любви</a>\r\n
""".strip() + "чтобы посмотреть больше обо мне, выбери на клавиатуре что именно хотел бы увидеть.")
keyboard.add(button3, button4)
answer_text = ('<b>about_me</b>\r\n' + """
Мое имя Алексей Савин. Мне 35 лет. Я из Москвы и живу в Москве всю свою жизнь. Мой сайт: https://alekseysavin.com
А еще у меня есть микроблог: https://t.me/xsa_logs
Очень интересно сделать свой курс на тему больших языковых моделей.\r\n
Тут короткая <a href="https://telegra.ph/Istoriya-lyubvi-08-31">история о любви</a>\r\n
""".strip() + "\r\n<i>чтобы посмотреть больше обо мне, выбери на клавиатуре что именно хотел бы увидеть.</i>")
await bot.send_message(chat_id=message.from_user.id,
text=answer_text,
reply_markup=keyboard,
parse_mode='html')
parse_mode='html',
disable_web_page_preview=True)


@dp.message_handler(Command("granny_faq"))
Expand Down

0 comments on commit d5fb4b0

Please sign in to comment.