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 = "eb06d4abfb49dc3eeb1aeb98aq0f581e"
Heroku Configuration Simply just leave the Config as it is.
Local Configuration
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 from https://my.telegram.orgAPI_HASH
: You can get this value from https://my.telegram.orgHEROKU_API
: You can get this value from https://dashboard.heroku.com/account
-
The userbot will not work without setting the mandatory vars.