feat: мини-игры, premium подписка, улучшенные контексты
Мини-игры (/games): - Speed Round: 10 раундов, 10 секунд на ответ, очки за скорость - Match Pairs: 5 слов + 5 переводов, соединить пары Premium-функции: - Поля is_premium и premium_until для пользователей - AI режим проверки ответов (учитывает синонимы) - Batch проверка всех ответов одним запросом Улучшения: - Примеры использования для всех добавляемых слов - Разбиение переводов по запятой на отдельные записи - Полные предложения в контекстах (без ___) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
4
main.py
4
main.py
@@ -7,7 +7,7 @@ from aiogram.enums import ParseMode
|
||||
from aiogram.types import BotCommand
|
||||
|
||||
from config.settings import settings
|
||||
from bot.handlers import start, vocabulary, tasks, settings as settings_handler, words, import_text, practice, reminder, level_test, admin, exercises, wordofday, stories
|
||||
from bot.handlers import start, vocabulary, tasks, settings as settings_handler, words, import_text, practice, reminder, level_test, admin, exercises, wordofday, stories, minigames
|
||||
from services.reminder_service import init_reminder_service
|
||||
|
||||
|
||||
@@ -32,6 +32,7 @@ async def main():
|
||||
BotCommand(command="task", description="Задания"),
|
||||
BotCommand(command="practice", description="Диалог с AI"),
|
||||
BotCommand(command="story", description="Мини-истории"),
|
||||
BotCommand(command="games", description="Мини-игры"),
|
||||
BotCommand(command="add", description="Добавить слово"),
|
||||
BotCommand(command="words", description="Тематическая подборка слов"),
|
||||
BotCommand(command="vocabulary", description="Мой словарь"),
|
||||
@@ -52,6 +53,7 @@ async def main():
|
||||
dp.include_router(exercises.router)
|
||||
dp.include_router(wordofday.router)
|
||||
dp.include_router(stories.router)
|
||||
dp.include_router(minigames.router)
|
||||
dp.include_router(reminder.router)
|
||||
dp.include_router(admin.router)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user