1
0
mirror of https://github.com/civsocit/olgram.git synced 2025-05-24 01:13:26 +00:00
This commit is contained in:
jjki3d 2024-02-17 04:12:07 +04:00
parent 0881c86349
commit ae45374490
2 changed files with 27 additions and 1 deletions

25
.readthedocs.yaml Normal file
View File

@ -0,0 +1,25 @@
# Read the Docs configuration file for Sphinx projects
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
# Required
version: 2
# Set the OS, Python version and other tools you might need
build:
os: ubuntu-22.04
tools:
python: "3.8"
jobs:
post_create_environment:
- python -m pip install sphinx_rtd_theme
# Build documentation in the "docs/" directory with Sphinx
sphinx:
configuration: docs/source/conf.py

View File

@ -200,7 +200,8 @@ async def send_bot_settings_menu(bot: Bot, call: types.CallbackQuery):
<a href="https://olgram.readthedocs.io/ru/latest/options.html#threads">Потоки сообщений</a>: <b>{0}</b>
<a href="https://olgram.readthedocs.io/ru/latest/options.html#user-info">Данные пользователя</a>: <b>{1}</b>
<a href="https://olgram.readthedocs.io/ru/latest/options.html#antiflood">Антифлуд</a>: <b>{2}</b>
<a href="https://olgram.readthedocs.io/ru/latest/options.html#always_second_message">Автоответчик всегда</a>: <b>{3}</b>
<a href="https://olgram.readthedocs.io/ru/latest/options.html#always_second_message">Автоответчик всегда</a>: <b>{3}
</b>
""")).format(thread_turn, info_turn, antiflood_turn, enable_always_second_message)
if is_promo: