Simply clone the repository and run the main file:
git clone https://github/Anmol-dot2833/Black-Lightning
cd Black Lightning
virtualenv -p /usr/bin/python3 venv
. ./venv/bin/activate
pip install -r requirements.txt
# <Create local_config.py with variables as given below>
python3 -m Black-Lightning
[+] 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 Lightning Bot will not work without setting the mandatory vars.
Black Lightning Userbot is Free Software: You can use, study share and improve it at your will. Specifically you can redistribute and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.