/mention-all-bot

Telegram bot that allows you to notify all members of the group.

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

mention-all-bot

mention-all-bot is a telegram bot that helps to mention all users in a group.

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

Installation

docker-compose.yml:

services:
  app:
    image: ghcr.io/pischule/mention-all-bot:master
    restart: always
    environment:
      TGBOT_TOKEN: "token_example"
      DB_CONNSTRING : "host=db port=5432 dbname=postgres user=postgres password=password_example"
  db:
    image: postgres
    restart: always
    environment:
      POSTGRES_PASSWORD: "password_example"
    volumes:
      - postgres-data:/var/lib/postgresql/data
volumes:
  postgres-data:
docker compose up -d

License

GNU GPLv3