This repository has been archived by the owner on Jul 22, 2022. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 20
Setup
ColinTheShark edited this page Apr 9, 2020
·
1 revision
Though the setup should be relatively straightforward, some might still run into complications. This Wiki page aims to resolve those issues completely.
PyroBot is a Telegram Userbot that relies on several dependencies that are always kept up-to-date in the
requirements
file.
While using a Virtual Environment is optional, it is highly recommended to use one to not have PyroBots dependencies potentially interfere with other programs installed on your machine. You can leave out Steps 3 and 4 if you like.
- Get API Credentials from Telegram. Save these for later.
- Clone the repository (duh)
git clone https://github.com/ColinTheShark/PyroBot
- Enter the PyroBot directory
cd PyroBot
- Set up a Virtual Environment
python -m venv venv
- Activate the new VEnv
source venv/bin/activate
- Install all requirements
python -m pip install -r requirements.txt
- Copy or Rename the Sample Config
mv pyrobot.ini.sample pyrobot.ini
- Edit the API Credentials from 0. into the Config file.
nano pyrobot.ini
- Start PyroBot
python -m pyrobot