A Telegram UserBot based on Pyrogram
Setup config.py file
docker build -t telepyrobot:v2.1 .
docker run -d telepyrobot:v2.1
Simply clone the repository and run the main file:
git clone https://github.com/SkuzzyxD/TelePyroBot.git
cd TelePyroBot
virtualenv -p /usr/bin/python3 venv
. ./venv/bin/activate
pip install -r requirements.txt
python3 -m telepyrobot
Get String Session
git clone https://github.com/SkuzzyxD/TelePyroBot.git
cd TelePyroBot
virtualenv -p /usr/bin/python3 venv
. ./venv/bin/activate
pip install -r string-requirements.txt
python3 GenerateStringSession.py
An example config.py
file could be:
Not All of the variables are mandatory
The UserBot should work by setting only these variables
from telepyrobot.sample_config import Config
class Development(Config):
APP_ID = 6
API_HASH = "eb06d4abfb49dc3eeb1aeb98ae0f581e"
STRING_SESSION = "" # Get it from Repl.run or manually by GenerateStringSession.py
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
APP_ID
: You can get this value from https://my.telegram.orgAPI_HASH
: You can get this value from https://my.telegram.orgSTRING_SESSION
: Get it from Repl.run (Click here)
- The Userbot should work without setting the non-mandatory environment variables.
- Please report any issues to the support group: @Skuzzy xD
- Spechide for basic plugins.
- Dan Tès for his Pyrogram Library
- Colin Shark for his PyroBot
- Pokurt for his Nana-Remix
- Copyright (C) 2020 by SkuzzyxD ❤️️
- Licensed under the terms of the GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007