Simply clone the repository and run the main file:
git clone https://github.com/edguru/synergy
cd synergy
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 userbot
[+] 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 synergy bot will not work without setting the mandatory vars.
Synergy 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.