diff --git a/README.md b/README.md index 867e854..713be5a 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,8 @@ -# Telegram chat-robot implementing a register of people +# Register of people in telegram chat-robot -⚠️ Documentation and code commenting not added +⚠️ Documentation and code commentaries are not created! (this is not an important project) -Simple, asynchronous, scalable, easy to update -The robot sends messages in Russian, but they can easily be replaced with English +😼Simple, asynchronous, scalable, easy to update -😼 Developed lazily in 2 days +Messages in Russian, but can easily be replaced with English +Based on very comfy and easy Zanzara PHP Telegram framework: https://github.com/badfarm/zanzara diff --git a/mirzaev/telegram/registry/people/system/public/robot.php b/mirzaev/telegram/registry/people/system/public/robot.php index 05858de..b5cb688 100644 --- a/mirzaev/telegram/registry/people/system/public/robot.php +++ b/mirzaev/telegram/registry/people/system/public/robot.php @@ -9,8 +9,8 @@ use React\Promise\PromiseInterface; require __DIR__ . '/../../../../../../vendor/autoload.php'; -const KEY = require('../settings/key.php'); -const STORAGE = require('../settings/storage.php'); +define('KEY', require('../settings/key.php')); +define('STORAGE', require('../settings/storage.php')); $config = new Config(); $config->setParseMode(Config::PARSE_MODE_MARKDOWN);