Files
go-mention-all-bot/README.md
Maksim Pischulenok 4d0be9897d Update README.md
2023-06-19 00:37:30 +03:00

901 B

go-mention-bot

Telegram bot that helps to mention all users in a group. Second version of mention-all-the-bot

Usage

  1. Use hosted or host yourself

  2. Add to your group

  3. Everyone who wants to receive notifications opts-in using /in

  4. Now you can call everyone with /all

Commands:

/start - Display help text
/in - Opt-in to receive mentions
/out - Opt-out of receiving mentions
/all - Mention all opted-in users
/stats - Display bot stats
/cleanup - Manually opt-out left members of the group

How to run this

$ cat << EOF > docker-compose.yml 
services:
  bot:
    image: ghcr.io/pischule/go-mention-all-bot:master
    restart: unless-stopped
    volumes:
      - ./data:/app/data
    environment:
      TELEGRAM_TOKEN: "<your-bot-token>"
EOF
$ docker compose up -d