Git Product home page Git Product logo

telepyrobot's Introduction

TelePyroBot 🤖

forthebadge made-with-python ForTheBadge built-with-love
Views

A Telegram UserBot based on Pyrogram

Installing

The Easy Way- Heroku

Deploy

GET STRING SESSION FROM REPL RUN!

Repl.it

Docker way!

Setup config.py file

docker build -t telepyrobot:v2.1 .
docker run -d telepyrobot:v2.1

The Legacy Way - Manual

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

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 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.

Things to Note:

  • 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: @Skuzzy xD

Credits, and Special Thanks to

Copyright & License

telepyrobot's People

Contributors

divkix avatar justthekai avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.