mirror of
https://github.com/civsocit/olgram.git
synced 2023-07-22 01:29:12 +03:00
text fixes
This commit is contained in:
parent
9d5bf0de53
commit
f860fb1815
@ -157,7 +157,7 @@ async def send_bot_settings_menu(bot: Bot, call: types.CallbackQuery):
|
||||
chat=empty))
|
||||
)
|
||||
keyboard.insert(
|
||||
types.InlineKeyboardButton(text="Дополнительная информация",
|
||||
types.InlineKeyboardButton(text="Данные пользователя",
|
||||
callback_data=menu_callback.new(level=3, bot_id=bot.id, operation="additional_info",
|
||||
chat=empty))
|
||||
)
|
||||
@ -171,7 +171,7 @@ async def send_bot_settings_menu(bot: Bot, call: types.CallbackQuery):
|
||||
info_turn = "включена" if bot.enable_additional_info else "выключена"
|
||||
text = dedent(f"""
|
||||
<a href="https://olgram.readthedocs.io/ru/latest/options.html#threads">Потоки сообщений</a>: <b>{thread_turn}</b>
|
||||
<a href="https://olgram.readthedocs.io/ru/latest/options.html#user_info">Данные пользователя</a>: <b>{info_turn}</b>
|
||||
<a href="https://olgram.readthedocs.io/ru/latest/options.html#user-info">Данные пользователя</a>: <b>{info_turn}</b>
|
||||
""")
|
||||
await edit_or_create(call, text, reply_markup=keyboard, parse_mode="HTML")
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user