Skip to content

Spp595/tgAlertBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Telegram Alert Bot

This is a simple bot designed to mention participants in a group or chat using the @all command

Run

docker run -d \
  -e BOT_TOKEN="YouBotToken" \
  -e APIID="YouAppId" \
  -e APIHASH="YouApiHash" \
  sp595s/tgalertbot

Docker Compose

version: "3.7"
services:
  tgalertbot:
    image: sp595s/tgalertbot
    restart: unless-stopped
    environment:
      APIID: "YouAppId"
      APIHASH: "YouApiHash"
      BOT_TOKEN: "YouBotToken"

Docker Hub

Environment variables

BOT_TOKEN: bot token obtained from @BotFather

APIID: App api_id which can be obtained from my.telegram.org/apps

APIHASH: App api_hash which can be obtained from my.telegram.org/apps

Build

git clone https://github.com/Spp595/tgAlertBot.git

cd tgAlertBot

docker build --rm --tag tgalertbot:latest .

docker run -e BOT_TOKEN="YouBotToken" -e APIID="YouAppId" -e APIHASH="YouApiHash" tgalertbot

About

bot for mentioning participants in chat using @ALL

Topics

Resources

License

Stars

Watchers

Forks