An open API service indexing awesome lists of open source software.

https://github.com/xditya/indianbot

Its a userbot helper created by @pureindialover
https://github.com/xditya/indianbot

Last synced: 5 months ago
JSON representation

Its a userbot helper created by @pureindialover

Awesome Lists containing this project

README

          

# IndianBot
This is a userbot made for telegram. I made this userbot with help of all other userbots available in telegram.

For any query or want to know how it works join
# https://t.me/movislink1

# FORK AT YOUR OWN RISK
# Installing

### The Easy Way

[![Deploy To Heroku](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy)

### The Normal Way

Simply clone the repository and run the main file:
```sh
git clone https://github.com/indianbhaiya/IndianBot
cd Indianbot
virtualenv -p /usr/bin/python3 venv
. ./venv/bin/activate
pip install -r requirements.txt
#
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__

```python3
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**
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`
- `APP_ID`: You can get this value from https://my.telegram.org
- `API_HASH`: You can get this value from https://my.telegram.org
- The userbot will not work without setting the mandatory vars.