Skip to content
forked from xditya/TeleBot

Python based Telegram UserBot. For help, join Telegram Group

License

Notifications You must be signed in to change notification settings

DemonKing6/TeleBot

 
 

Repository files navigation

TeleBot - Telegram UserBot

Support

Video Tutorial on deploying

Click the below button to watch the video tutorial on deploying

The Easier Way to install

Deploy To Heroku

Support

Join https://t.me/TeleBotHelp for updates and suggestions. Do fork and star the repo

Session String

generate_string

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

Disclaimer

/**
    Your Telegram account may get banned.
    I am not responsible for any improper use of this bot
    This bot is intended for the purpose of having fun with memes,
    as well as efficiently managing groups.
    You ended up spamming groups, getting reported left and right,
    and you ended up in a Finale Battle with Telegram and at the end
    Telegram Team deleted your account?
    And after that, then you pointed your fingers at us
    for getting your acoount deleted?
    I will be rolling on the floor laughing at you.
/**

About

Python based Telegram UserBot. For help, join Telegram Group

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%