Skip to content

TeaRCON 4.0 [+ fix]

Compare
Choose a tag to compare
@teanus teanus released this 04 Aug 22:20
· 3 commits to master since this release

TeaRCON 4.0 🎉

Основные изменения 🚀

Перенос сообщений в шаблонизатор jinja2 📜

Все сообщения теперь вынесены в шаблонизатор jinja2 для удобства управления и изменения. Все шаблоны находятся в директории template/

  • commands 📝: шаблоны команд, которые отправляются администратором или пользователем.
  • keyboards ⌨️: шаблоны клавиатур, отправляемых пользователям (tg keyboards).
  • messages 💬: шаблоны сообщений, которые выводятся пользователям при использовании кнопки или написания команды.
  • bot 🖥️: сообщения, которые отправляются в консоль для поддержки бота на сервере.
  • add_super_admin 👤: сообщения, которые отправляются при назначении администратора из консоли.
  • group_logger 📑: шаблоны сообщений для логирования в Telegram чате.

Добавление docstring на русском языке 📝

Во всех местах были добавлены docstring на русском языке для улучшения понимания и работы с кодом.


Полные изменения коммитов: 3.3...4.0

[eng] Major Changes 🚀

Migration of Messages to jinja2 Templating 📜

All messages have been migrated to the jinja2 templating engine for easier management and modification. All templates are located in the template/ directory.

  • commands 📝: templates for commands sent by the administrator or user.
  • keyboards ⌨️: templates for keyboards sent to users (tg keyboards).
  • messages 💬: templates for messages displayed to users when a button is pressed or a command is issued.
  • bot 🖥️: messages sent to the console for bot support on the server.
  • add_super_admin 👤: messages sent when assigning an administrator from the console.
  • group_logger 📑: templates for logging messages in the Telegram chat.

Addition of Russian Language Docstrings 📝

Docstrings have been added in Russian throughout the code to improve understanding and facilitate enhancements.


Note: Docstrings have not been translated into English due to the primary audience being the Russian-speaking community.
Full changelog: 3.3...4.0