Skip to content

pluggable Telegram UserBot based on Pyrogram

Notifications You must be signed in to change notification settings

athulbu7/PyroGramUserBot

 
 

Repository files navigation

PyroGramUserBot 🔥🤖

A Telegram Userbot based on Pyrogram

installing

The Easy Way

Deploy

The Legacy Way

Simply clone the repository and run the main file:

git clone https://github.com/SpEcHiDe/PyroGramUserBot.git
cd PyroGramUserBot
virtualenv -p /usr/bin/python3 venv
. ./venv/bin/activate
pip install -r requirements.txt
# <Create config.py with variables as given below>
python3 -m pyrobot

Getting config.py values

An example config.py file could be:

Not All of the variables are mandatory

The UserBot should work by setting only these variables

from pyrobot.sample_config import Config

class Development(Config):
  APP_ID = 6
  API_HASH = "eb06d4abfb49dc3eeb1aeb98ae0f581e"
  HU_STRING_SESSION = ""

HU_STRING_SESSION can be generated by running python3 GenerateStringSession.py in any GNU/Linux system, with Python3 and the requirements installed.

  • Only three of the configuration / environment variables are mandatory.
  • This is because of pyrogram.errors.API_ID_PUBLISHED_FLOOD
  • The userbot should work without setting the non-mandatory environment variables.
  • Please report any issues to the support group: @SpEcHlDe

Credits, and Thanks to

About

pluggable Telegram UserBot based on Pyrogram

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 97.2%
  • Shell 2.8%