-
Notifications
You must be signed in to change notification settings - Fork 3
Installation
VYCKTOR HUGO STARK edited this page Jul 4, 2018
·
2 revisions
You should have your machine updated, and have Python (3.5 +) and pip (8.1+) installed
# Tested on Ubuntu 14.04, 15.04 and 16.04, Debian 7, Linux Mint 17.2
Cloning the repository:
$ git clone https://github.com/DialogWizards/Friday.git
## To install the required libraries, execute:
$ python3 run.py --install
- Before doing anything, take a look at the bot's settings
• Make sure privacy is off (more information on the Bots official FAQ page). Send
/setprivacy
for BotFather To check the current setting.
- After installation, open the project folder and with a text editor and make the following changes in the setting.py file:
• Set
Token
with the authentication token received from [BotFather] (http://telegram.me/BotFather) in theSECRET_KEY
.• Set your Telegram ID in
SUDO
.• Set the support group ID in the
SUPPORT
.• Set the logs group ID in the
LOGS
.
- Once you have done everything and run the base, go to: http://host:port/webhook_int After doing so, the base will start receiving the data via webhook, and this you will do only the first time.