Yet Another GitAlertBot
Dev-v2's GitGram
Inspired FromRun Bot:
Local Host
- Git Clone Repo :
- For Telethon Version :
git clone https://github.com/TeamAlinaX/GitGramAlertBot -b telethon
- For Pyrogram Version :
git clone https://github.com/TeamAlinaX/GitGramAlertBot -b pyrogram
- Make
local.env
File With the Values As Shown Below :
API_ID=12222
API_HASH="API_HASH"
BOT_TOKEN="BOT_TOKEN"
HOST="http://127.0.0.1"
PORT=8000
- Now Just Run
python3 git_alert_core.py
- Now Navigate To Url :
http://127.0.0.1:8080/ghook/
(replace with the chat where you want alerts to be sent) - Go to Your Repo And Set The Webhook Url & Make Sure To Set It To Json. The Bot Should Sent Alerts Now.
- Happy Gitting :)
Heroku
- Choose Your Fav Version And Click On Deploy Button
- Fill In The Values
- Turn On Dyno
- Now Navigate To Url :
https://
(replace with the chat where you want alerts to be sent and to your heroku app name).herokuapp.com/ghook/ - Go to Your Repo And Set The Webhook Url & Make Sure To Set It To Json. The Bot Should Sent Alerts Now.
- Happy Gitting :)