Skip to content

CaptchaBot - telegram-bot (python, aiogram)

License

Notifications You must be signed in to change notification settings

OldCodersClub/CaptchaBot

 
 

Repository files navigation

CaptchaBot

Telegram-bot (python, aiogram)

Captcha for incoming telegram chats users.

Launching in Docker

Create and start container:

$ export BOT_TOKEN=<BOT_TOKEN>
$ export CHAT_ID_1=<CHAT_ID_1>
$ export CHAT_ID_2=<CHAT_ID_2>
$ export CHAT_ID_3=<CHAT_ID_3>
$ export CHAT_ID_4=<CHAT_ID_4>
$ docker-compose up -d

Stop lifted containers:

$ docker-compose stop

Start stopped containers:

$ docker-compose start

Stop and delete containers and network:

$ docker-compose down

Remove image:

$ docker rmi captcha_bot

Clear logs:

$ sudo rm -rf logs/*

Execute a command in a running container:

$ docker exec -it CaptchaBot bash

About

CaptchaBot - telegram-bot (python, aiogram)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 88.5%
  • Dockerfile 11.5%