Skip to content

pischule/go-mention-all-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 > 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

About

Implementation of mention-all-the-bot in Go

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages