Skip to content

Repository files navigation

This template was designed to create bots based on aiogram 3, and includes several basic functions.

Features

Localization

Fluent is used for localization. By default, the folder with localizations is located at the path `src/locales'.

utilities

  • src/utils/ftl_parser_cli.py - Live generation of stubs for localization.
  • src/utils/ftl_translator.py - Automatic localization translation into all languages via Google Translate and ftl generation.
  • src/apps/bot/callback_data/paginator.py - Paginator of pages for InlineKeyboardMarkup.
  • src/db/models/user/mixins.py - Mixins for user models. At the moment, for Referrals and Connecting users to each other through a bot. (Example of connection in `helpers/connect')

Installation

  1. Fill in the config.yml
  2. Run docker compose up -d

When changing data

  1. Run docker compose stop (stop container)
  2. Run docker compose up -d --build (rebuild the container and run it)

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages