Skip to content

dn1lk/d1pq-tg

Repository files navigation

//delete

-- Async Python Telegram bot

A text-generating bot based on current chat with playing functions.

Setup

Requirements

In requirements.txt (:

Environments

Before start fill .env and yc.env.

Makefile

  1. Create YC serverless container: make create
  2. Fill YC_CATALOG_ID and YC_REGISTRY_ID in .env and yc.env
  3. Create YC API-gateway: make create_gw
  4. Fill WEBHOOK_URL in .env
  5. Update YC API-gateway creds in the service
  6. Create YC YDB, fill database.env
  7. (Optional) Create YC Redis, fill redis.env
  8. Deploy to YC: make deploy

It will set up Yandex Cloud serverless container, create Yandex Cloud API-gateway, setup webhook and deploy container.

-- Ready to use!

About

Asynchronous tg-bot generating responses based on AI or Markov algorithm

Topics

Resources

Stars

Watchers

Forks

Contributors