- Notifications
You must be signed in to change notification settings - Fork0
M4rt33/userbot
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Joinhttps://t.me/XtraTgBot for updates and tuts
Simply clone the repository and run the main file:
git clone https://github.com/Dark-Princ3/X-tra-Telegramcd X-tra-Telegramvirtualenv -p /usr/bin/python3 venv. ./venv/bin/activatepip install -r requirements.txt# <Create local_config.py with variables as given below>python3 -m userbot
An examplelocal_config.py
file could be:
Not All of the variables are mandatory
The Userbot should work by setting only the first two variables
fromheroku_configimportVarclassDevelopment(Var):APP_ID=6API_HASH="eb06d4abfb49dc3eeb1aeb98ae0f581e"
The UniBorg Config is situated inuserbot/uniborgConfig.py
.
Heroku ConfigurationSimply just leave the Config as it is.
Local ConfigurationCheckLine 111 and start adding your vars there.Fortunately there are no Mandatory vars for the UniBorg Support Config.
- 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 fromhttps://my.telegram.orgAPI_HASH
: You can get this value fromhttps://my.telegram.org
- The userbot will not work without setting the mandatory vars.