Skip to content

slawiko/ru-bel-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

76 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Russian-Belarusian translation bot

Bot simplifies transition to belarussian language. Don't know how to say %WORD% in belarussian? Just ask this %WORD%, Жэўжык will answer you with the translation from https://www.skarnik.by/ .

This bot could be added in group. To use it just write як будзе %WORD% and Жэўжык will reply with translation.

Run

cd bot
go build
bot "TELEGRAM_BOT_API_TOKEN"

or using docker

docker build -t jeujik_bot .
docker run -i jeujik_bot "TELEGRAM_BOT_API_TOKEN"

Attention

To allow your self-hosted bot read group message you have to disable privacy mode before adding bot to the group. See how to do this: https://teleme.io/articles/group_privacy_mode_of_telegram_bots