https://github.com/xditya/ninjauserbot
Advanced Pluggable Telegram Userbot
https://github.com/xditya/ninjauserbot
Last synced: about 1 month ago
JSON representation
Advanced Pluggable Telegram Userbot
- Host: GitHub
- URL: https://github.com/xditya/ninjauserbot
- Owner: xditya
- License: mit
- Created: 2020-09-28T12:58:36.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-09-28T13:00:08.000Z (almost 6 years ago)
- Last Synced: 2025-01-05T21:27:42.077Z (over 1 year ago)
- Homepage:
- Size: 294 KB
- Stars: 4
- Watchers: 2
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# NINJA USERBOT

[](https://www.python.org/)
Advanced Pluggable Userbot to manage your Telegram Account
## © By [NinjaNaveen](https://t.me/ninjanaveen)
### Deploy
[](https://heroku.com/deploy?template=https://github.com/ninjanaveen/NinjaUserbot)
## Telegram-String
[](https://stringsession.ninjanaveen.repl.run)
### The Normal Way
Simply clone the repository and run the main file:
```sh
git clone https://github.com/ninjanaveen/NinjaUserbot
cd NinjaUserbot
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.