From a7b14a206cf423dd99804f53c54797244c73e91b Mon Sep 17 00:00:00 2001 From: root Date: Sat, 11 Nov 2023 14:51:58 +0000 Subject: [PATCH] i don`t know what in there --- README.md | 10 +++++----- .../telegram/registry/people/system/public/robot.php | 4 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) 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);