Skip to content

Credits to RaphielGang And Spechide for their codes which helped me make this. Credits for the core goes to Snappy. kthxbye. Btw check out https://www.moddingunited.xyz/

License

Notifications You must be signed in to change notification settings

sidmk7/X-tra-Telegram

This branch is 160 commits behind Prince-Mendiratta/X-tra-Telegram:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

e16e27f · Jan 27, 2020
Jan 27, 2020
Sep 18, 2019
Sep 30, 2019
Sep 18, 2019
Sep 21, 2019
Dec 22, 2019
Jan 15, 2020
Jan 3, 2020
Oct 11, 2019
Sep 26, 2019
Sep 19, 2019
Sep 24, 2019

Repository files navigation

FORK AT YOUR OWN RISK

Installing

Join https://t.me/XtraTgBot for updates and tuts

The Easy Way

Deploy To Heroku

The Normal Way

Simply clone the repository and run the main file:

git clone https://github.com/Dark-Princ3/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 userbot

An example local_config.py file could be:

Not All of the variables are mandatory

The Userbot should work by setting only the first two variables

from heroku_config import Var

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

UniBorg Configuration

The UniBorg Config is situated in userbot/uniborgConfig.py.

Heroku Configuration Simply just leave the Config as it is.

Local Configuration Check Line 111 and start adding your vars there. Fortunately there are no Mandatory vars for the UniBorg Support Config.

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

Credits to RaphielGang And Spechide for their codes which helped me make this. Credits for the core goes to Snappy. kthxbye. Btw check out https://www.moddingunited.xyz/

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%