GitXplorerGitXplorer
i

red-alert-bot

public
4 stars
0 forks
0 issues

Commits

List of commits on branch main.
Verified
d7b2de44d22dd14c2d1b460ff132033262bc134a

Update requirements.txt

iiiiiii1wepfj committed 9 months ago
Verified
56aa7f03e8794f15d4f6fd13ff2f3d6c550ee55a

Update bot.py

iiiiiii1wepfj committed 9 months ago
Verified
ccb0cba453607d1494b58ff2242d6de2399054b9

Update README.md

iiiiiii1wepfj committed a year ago
Verified
b8e407aa06d5e4151914d715c534316671ee6eb3

Update requirements.txt

iiiiiii1wepfj committed a year ago
Verified
560cbcaa5a369bfe0e73c450813c16de5880258c

Merge pull request #4 from iiiiii1wepfj/async-version-with-new-alerts-sort

iiiiiii1wepfj committed a year ago
Verified
fb349498c2160f121259653c49d3955032b1aea7

Update bot.py

iiiiiii1wepfj committed a year ago

README

The README file for this repository.

red-alert-bot

a telegram bot for red alerts in israel

how to run

git clone https://github.com/iiiiii1wepfj/red-alert-bot.git
cd red-alert-bot
python3 -m venv .venv
source .venv/bin/activate
pip3 install -U -r requirements.txt

edit the api hash and api id and bot token in bot.py

create the channel and add the bot to the channel as admin with post messages permission, copy the channel id to main_channel in bot.py and if do you want to forward the message to other channels from the main channel add it to chats_to_forward like ["-100", "-100"]

python3 bot.py