A Git Alert Bot - Github Integration for Pyrogram & Telethon

Overview

Yet Another GitAlertBot

Inspired From @Pokurt's GitGram

Run Bot:

Local Host

  • Git Clone Repo :
  • For Telethon Version : git clone https://github.com/DevsExpo/GitAlertBot -b telethon
  • For Pyrogram Version : git clone https://github.com/DevsExpo/GitAlertBot -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/<chat-id> (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://<heroku-app-name>.herokuapp.com/ghook/<chat-id> (replace with the chat where you want alerts to be sent and to your heroku app name)
  • Go to Your Repo And Set The Webhook Url & Make Sure To Set It To Json. The Bot Should Sent Alerts Now.
  • Happy Gitting :)

Telethon Version

Deploy To Heroku

Pyrogram

Deploy To Heroku

You might also like...
Telegram PHub Bot using ARQ Api and Pyrogram. This Bot can Download and Send PHub HQ videos in Telegram using ARQ API.

Tg_PHub_Bot Telegram PHub Bot using ARQ Api and Pyrogram. This Bot can Download and Send PHub HQ videos in Telegram using ARQ API. OS Support All linu

Simple base for a telethon bot!

Telethon Bot Simple base used to make a Telegram Bot in telethon. Join @BotzHub! Note: The client, here, is named BotzHub. Fork and add your plugins t

A simple Python script using Telethon to log all (or some) messages a user or bot account can see on Telegram.

telegram-logger A simple Python script using Telethon to log all (or some) messages a user or bot account can see on Telegram. Requirements Python 3.6

A Powerful Telethon Based Telegram Spam Bot.
A Powerful Telethon Based Telegram Spam Bot.

Yukki Multi Spam Bot 🚀 Deploy on Heroku You can Use these API ID and API HASH while deploying String Session No Requirement of API ID and API HASH Ge

A Bot to Upload files to Many Cloud services. Powered by Telethon.
A Bot to Upload files to Many Cloud services. Powered by Telethon.

oVo MultiUpload V1.0 👀 A Bot to Upload files to Many Cloud services. Powered by Telethon _ 🎯 Follow me and star this repo for more telegram bots. @H

A modular Telegram Python bot running on python3 with a sqlalchemy, redis, telethon.
A modular Telegram Python bot running on python3 with a sqlalchemy, redis, telethon.

GilbertAnimeBot A modular Telegram Python bot running on python3 with a sqlalchemy, redis, telethon. How to setup/deploy. Read these notes carefully b

3X Fast Telethon Based Bot

📺 YouTube Song Downloader Bot For Telegram 🔮 3X Fast Telethon Based Bot ⚜ Easy To Deploy 🤗

A Powerfull Userbot Telegram PandaX_Userbot, Vc Music Userbot + Bot Manager based Telethon

Support ☑ CREDITS THANKS YOU VERRY MUCH FOR ALL Telethon Pyrogram TeamUltroid TeamUserge CatUserbot pytgcalls Dan Lainnya

A telegram bot for generate fake details. Written in python using telethon

FakeDataGenerator A telegram bot for generate fake details. Written in python using telethon. Mandatory variables API_HASH Get it from my telegram.org

Comments
  • Sourcery refactored telethon branch

    Sourcery refactored telethon branch

    Branch telethon refactored by Sourcery.

    If you're happy with these changes, merge this Pull Request using the Squash and merge strategy.

    See our documentation here.

    Run Sourcery locally

    Reduce the feedback loop during development by using the Sourcery editor plugin:

    Review changes via command line

    To manually merge these changes, make sure you're on the telethon branch, then run:

    git fetch origin sourcery/telethon
    git merge --ff-only FETCH_HEAD
    git reset HEAD^
    

    Help us improve this pull request!

    opened by sourcery-ai[bot] 1
  • Sourcery refactored pyrogram branch

    Sourcery refactored pyrogram branch

    Branch pyrogram refactored by Sourcery.

    If you're happy with these changes, merge this Pull Request using the Squash and merge strategy.

    See our documentation here.

    Run Sourcery locally

    Reduce the feedback loop during development by using the Sourcery editor plugin:

    Review changes via command line

    To manually merge these changes, make sure you're on the pyrogram branch, then run:

    git fetch origin sourcery/pyrogram
    git merge --ff-only FETCH_HEAD
    git reset HEAD^
    

    Help us improve this pull request!

    opened by sourcery-ai[bot] 1
  • minor mistakes (Sourcery refactored)

    minor mistakes (Sourcery refactored)

    Pull Request #5 refactored by Sourcery.

    Since the original Pull Request was opened as a fork in a contributor's repository, we are unable to create a Pull Request branching from it.

    To incorporate these changes, you can either:

    1. Merge this Pull Request instead of the original, or

    2. Ask your contributor to locally incorporate these commits and push them to the original Pull Request

      Incorporate changes via command line
      git fetch https://github.com/DevsExpo/GitAlertBot pull/5/head
      git merge --ff-only FETCH_HEAD
      git push

    NOTE: As code is pushed to the original Pull Request, Sourcery will re-run and update (force-push) this Pull Request with new refactorings as necessary. If Sourcery finds no refactorings at any point, this Pull Request will be closed automatically.

    See our documentation here.

    Run Sourcery locally

    Reduce the feedback loop during development by using the Sourcery editor plugin:

    Help us improve this pull request!

    opened by sourcery-ai[bot] 1
  • Telethon pull request notification error

    Telethon pull request notification error

    File "/app/.heroku/python/lib/python3.9/site-packages/quart/app.py", line 1489, in handle_request 2022-01-01T16:14:47.323209+00:00 app[web.1]: return await self.full_dispatch_request(request_context) 2022-01-01T16:14:47.323210+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/quart/app.py", line 1514, in full_dispatch_request 2022-01-01T16:14:47.323210+00:00 app[web.1]: result = await self.handle_user_exception(error) 2022-01-01T16:14:47.323211+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/quart/app.py", line 964, in handle_user_exception 2022-01-01T16:14:47.323211+00:00 app[web.1]: raise error 2022-01-01T16:14:47.323212+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/quart/app.py", line 1512, in full_dispatch_request 2022-01-01T16:14:47.323212+00:00 app[web.1]: result = await self.dispatch_request(request_context) 2022-01-01T16:14:47.323212+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/quart/app.py", line 1557, in dispatch_request 2022-01-01T16:14:47.323213+00:00 app[web.1]: return await self.ensure_async(handler)(**request_.view_args) 2022-01-01T16:14:47.323213+00:00 app[web.1]: File "/app/git_alert_core.py", line 202, in ghoo_k 2022-01-01T16:14:47.323214+00:00 app[web.1]: {escape(data['pull_request']['body'])} 2022-01-01T16:14:47.323214+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/html/init.py", line 19, in escape 2022-01-01T16:14:47.323214+00:00 app[web.1]: s = s.replace("&", "&") # Must be done first! 2022-01-01T16:14:47.323215+00:00 app[web.1]: AttributeError: 'NoneType' object has no attribute 'replace'

    opened by Adarsh-Goel 0
Releases(telethon-0.0.1)
Owner
DevsExpo
A Organization Which Makes Awesome Open Source Projects.
DevsExpo
MashaRobot : New Generation Telegram Group Manager Bot (🔸Fast 🔸Python🔸Pyrogram 🔸Telethon 🔸Mongo db )

MashaRobot Me On Telegram ✨ MASHA ✨ This is just a demo bot.. Don't try to add to your group.. Create your own bot How To Host The easiest way to depl

Mr Dark Prince 40 Oct 9, 2022
A modular Telegram Python bot running on python3 with a sqlalchemy, redislab, mongo database, telethon, and pyrogram.

Zeldris Robot A modular Telegram Python bot running on python3 with a sqlalchemy, redislab, mongo database, telethon, and pyrogram. How to set up/depl

IDNCoderX 42 Dec 21, 2022
StringSessionGenerator - A Telegram bot to generate pyrogram and telethon string session

⭐️ String Session Generator ⭐️ Genrate String Session Using this bot. Made by TeamUltronX ?? String Session Demo Bot: Environment Variables Mandatory

TheUltronX 1 Dec 31, 2021
❤️ DaisyX 2.0 ❤️ A Powerful, Smart And Simple Group Manager ... Written with AioGram , Pyrogram and Telethon...

❤️ DaisyX 2.0 ❤️ A Powerful, Smart And Simple Group Manager ... Written with AioGram , Pyrogram and Telethon... ⭐️ Thanks to everyone who starred Dais

TeamOfDaisyX 44 Oct 6, 2022
A Powerful, Smart And Advance Group Manager ... Written with AioGram , Pyrogram and Telethon...

❤️ Shadow ❤️ A Powerful, Smart And Advance Group Manager ... Written with AioGram , Pyrogram and Telethon... ⭐️ Thanks to everyone who starred Shadow,

TeamShadow 17 Oct 21, 2022
⚡ Yuriko Robot ⚡ - A Powerful, Smart And Simple Group Manager Written with AioGram , Pyrogram and Telethon

⚡ Yuriko Robot ⚡ - A Powerful, Smart And Simple Group Manager Written with AioGram , Pyrogram and Telethon

Øғғɪᴄɪᴀʟ Ⱡᴏɢ [₳ғᴋ] 1 Apr 1, 2022
Git Plan - a better workflow for git

git plan A better workflow for git. Git plan inverts the git workflow so that you can write your commit message first, before you start writing code.

Rory Byrne 178 Dec 11, 2022
Easy and simple, Telegram Bot to Show alert when some edits a message in Group

Edit-Message-Alert Just a simple bot to show alert when someone edits a message sent by them, Just 17 Lines of Code These codes are for those who incu

Nuhman Pk 6 Dec 15, 2021
A new coin listing alert bot using Python, Flask, MongoDB, Telegram API and Binance API

Bzzmans New Coin Listing Detection Bot Architecture About Project Work in progress. This bot basically gets new coin listings from Binance using Binan

Eyüp Barlas 21 May 31, 2022
Desafio de projeto sobre Git/Github

Maçã ou Laranja? ?? Desafio Projeto Dio para Git/Github ?? Para esse primeiro repositório, decidir adicionar o primeiro algoritmo de inteligência arti

José Filipe 2 Oct 23, 2022