Antispam bot for telegram groups
Use next environment variables:
DRUZHOKBOT_TELEGRAM_TOKEN={YOUR_TOKEN}
- Telegram tokenDRUZHOKBOT_INFLUX_QUERY={url}
- Url to your influxDB server for storing logs, you choose not to define that env variable, if you don't need to log bot events
Docker compose: create .env
file and fill it with that variable.
docker-compose up -d
Add you bot to the chat(s) ang give him admin privileges (including allowing to delete messages and ban users)