Skip to content

AigizK/bashkort_translate_bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

This bot is designed to build up parallel texts. We provide users with pre-prepared versions of the text in two languages, and they choose whether the translation is correct or not.

We prepare the proposals in advance using the following tools: https://github.com/averkij/lingtrain-aligner https://github.com/averkij/a-studio

In order to start, you need to create a telegram app and bot and get API_ID,HASH,Token . This values must be added to the ./config.py

Sample config.py

BOT_TOKEN = 'bot token'
API_ID = 00000 # your app id
API_HASH = 'your app hash'
SUPER_ADMIN = "your account id" # super admin can send messges for other users

App_ID and hash you can get from https://my.telegram.org/auth Bot_Token you can get from @BotFather

Also you should fill your DB. I use for it /app/init_db.py

For running you can call:

python -m app  

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages