Skip to content

feat(bot): use existing polling bot, hide AI assistant; revert redundant webhook (#56) - #58

Merged
temrjan merged 2 commits into
mainfrom
chore/bot-existing-minus-assistant
Jul 29, 2026
Merged

feat(bot): use existing polling bot, hide AI assistant; revert redundant webhook (#56)#58
temrjan merged 2 commits into
mainfrom
chore/bot-existing-minus-assistant

Conversation

@temrjan

@temrjan temrjan commented Jul 29, 2026

Copy link
Copy Markdown
Owner

Обнаружен готовый сервис oltinpay/oltinpay-bot (aiogram polling) — он делает /start с выбором языка и клавиатурой запуска Mini App, богаче моего вебхука #56. Решение Капитана: использовать его, мой вебхук откатить.

Изменения

Проверено

  • bot: pytest 2 passed (red→green показан — падал на текущем bot.py). ruff чист (hook).
  • api после revert: ruff ✅ · pytest 163 passed / 2 skipped ✅.

Деплой (отдельно)

docker compose --profile bot up -d oltinpay-bot (polling; вебхук не регистрируется). Капитан включает Main Mini App в BotFather для ?startapp.

temrjan added 2 commits July 29, 2026 21:55
The existing polling bot exposed the AI assistant — a launch-keyboard button
and an "AI assistant" line in every welcome. The demo hides the assistant, so
drop the button, its aylin i18n key, and the welcome line in uz/ru/en. The
launch keyboard keeps Wallet / Exchange / Staking / Send.

Adds test_bot.py (red->green): asserts no assistant word survives in the
keyboard or welcome copy, and the wallet launch button still points at the app.
@temrjan
temrjan merged commit 4406515 into main Jul 29, 2026
@temrjan
temrjan deleted the chore/bot-existing-minus-assistant branch July 29, 2026 16:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant