项目作者: xditya

项目描述 :
Advanced Telegram UserBot. [Python][Telethon]
高级语言: Python
项目地址: git://github.com/xditya/TeleBot.git
创建时间: 2020-02-23T05:32:50Z
项目社区:https://github.com/xditya/TeleBot

开源协议:GNU Affero General Public License v3.0

下载


TeleBot - Telegram UserBot

Repository Archieved.

Please head on to TeamUltroid and use Ultroid instead.

" class="reference-link">

Support

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

@xditya/telebot#main.py" target="_blank">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:

  1. git clone https://github.com/xditya/TeleBot
  2. cd TeleBot
  3. virtualenv -p /usr/bin/python3 venv
  4. . ./venv/bin/activate
  5. pip install -r requirements.txt
  6. # <Create local_config.py with variables as given below>
  7. 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

  1. from heroku_config import Var
  2. class Development(Var):
  3. APP_ID = 6
  4. 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

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