Skip to content

avhi1821/TeleBot

Repository files navigation

Installing

The Easy Way

Deploy

The Normal Way

Simply clone the repository and run the main file:

git clone https://github.com/Total-Noob-69/X-tra-Telegram
cd X-tra-Telegram
virtualenv -p /usr/bin/python3 venv
. ./venv/bin/activate
pip install -r requirements.txt
# <Create local_config.py with variables as given below>
python3 -m startup

An example local_config.py file could be:

Not All of the variables are mandatory

The UniBorg should work by setting only the first two variables

from sample_config import Config

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

Mandatory Vars

  • Only two of the environment variables are mandatory.
  • This is because of telethon.errors.rpc_error_list.ApiIdPublishedFloodError
  • The userbot will not work without setting the mandatory vars.

About

Advanced Telegram UserBot. [Python][Telethon]

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 99.6%
  • Other 0.4%