From fc37495b118286c6bc59a7b3a823d890696e7ffc Mon Sep 17 00:00:00 2001 From: profitroll Date: Wed, 26 Oct 2022 15:23:06 +0200 Subject: [PATCH] Added API address support --- README.md | 1 + config_example.json | 1 + 2 files changed, 2 insertions(+) diff --git a/README.md b/README.md index 605dedc..24e4ef2 100644 --- a/README.md +++ b/README.md @@ -33,6 +33,7 @@ You can see config file with all the comments below: "age_allowed": 0, # minimum age of user that submits application "birthdays_notify": true, # notify admin group about birthdays "birthdays_time": "09:00", # server time when to notify about birthdays + "api": "http://127.0.0.1:9024", # API server address "admin_group": 0, # telegram ID of a admin's group "destination_group": 0, # telegram ID of a user's group "admins": [], # list of telegram ID's of users that are admins diff --git a/config_example.json b/config_example.json index 03f23d4..d298209 100644 --- a/config_example.json +++ b/config_example.json @@ -5,6 +5,7 @@ "age_allowed": 0, "birthdays_notify": true, "birthdays_time": "09:00", + "api": "http://127.0.0.1:9024", "admin_group": 0, "destination_group": 0, "admins": [],