A simple bot for managing your telegram channel and anonymous communicating with your followers
Required to have git
, make
, docker
и docker-compose
installed
Download project from GitHub
git clone https://github.com/ilkztsff/ChannelBot/
Build docker container
make build
Update dependencies
make update
Run this project
make start
Run the project in a background mode
make up
Stop containers
make stop
Remove stopped containers and data
make rm
Lint the project
make lint
All required enviromental variables are below. Examples here
-
HOST
- server host -
WEB_SERVER_URL
- url of a web server for getting updates from telegram -
BOT_TOKEN
- your telegram bot token, you can get it from @BotFather -
LANGUAGE
- language for your telegram bot, now only english(en
) and russian(ru
) are available -
TIMEOUT
- flood interval -
CHANNEL_ID
- id of your telegram channel(without-100
prefix) -
GROUP_ID
- id of your telegram group for commen(without-100
prefix) -
REDIS_PORT
- port for redis database -
REDIS_PASSWORD
- password for redis databas