- Written Python and uses Telethon library
- This is just the initial commit. More plugins would be added soon
- If you have any suggestions, please connect with me on Telegram
The environments variables are:
-
Telegram oriented variables Obtained from Telegram
Log in to get the following variables
- API_ID
- API_HASH
Run
python3 sessionGen.py
to get the following variable- STRING_SESSION
pip install -r requirements.txt
python3 -m userbot
To host the userbot in VPS, follow the instructions below:
- Clone the repository
git clone https://github.com/AISHIK999/Templar_Userbot.git templar
cd templar
- Install Docker Compose
sudo sudo apt-get install docker-compose
- Run the docker container
This command is to be run every time any changes are made to the repo (e.g., editing plugins, .env etc)
sudo docker-compose up --build
- To stop the container, run the following command:
To resume, use
sudo docker-compose stop
sudo docker-compose start