Skip to content
This repository has been archived by the owner on Mar 6, 2021. It is now read-only.

xditya/TeleBot

Repository files navigation

TeleBot - Telegram UserBot

Repository Archieved.

Please head on to TeamUltroid and use Ultroid instead.

Video Tutorial on deploying

Click the below button to watch the video tutorial on deploying

Documentation

For passionate readers 😂 the documentation can be found here

The Easier Way to install

Deploy To Heroku

Support

Join TeleBot Support group for updates and new plugin suggestions. Do fork and star the repo

Session String

generate_string
Alternative sites can be found here, incase the top one doesn't work.

The Normal Way

Simply clone the repository and run the main file:

git clone https://github.com/xditya/TeleBot
cd TeleBot
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 telebot

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"

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.

Disclaimer

/**
    	Improper use may lead to ban.
    	I am not responsible if you misuse this bot.
	This bot is just for managing groups more effectively and having some fun
	with your telegram account.
	No one is responsible for your actions.
	If you spammed and got reported again and again, 
	and, at last got your account banned, and you
	point your fingers at me, I'll be rolling on the floor laughing at you.
/**