From 44d1201181bd0a44234552b450604407cada7d45 Mon Sep 17 00:00:00 2001 From: mercury Date: Wed, 28 Jun 2023 17:18:05 +0400 Subject: [PATCH] geoip dummy --- app/bot.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/app/bot.php b/app/bot.php index 406f8c8..f70e2dd 100644 --- a/app/bot.php +++ b/app/bot.php @@ -190,6 +190,9 @@ class Bot case preg_match('~^/addadmin$~', $this->input['callback'], $m): $this->enterAdmin(); break; + case preg_match('~^/geodb$~', $this->input['callback'], $m): + $this->geodb(); + break; case preg_match('~^/adguardreset$~', $this->input['callback'], $m): $this->adguardreset(); break; @@ -2586,6 +2589,11 @@ DNS-over-HTTPS with IP: } } + public function geodb() + { + $this->answer($this->input['callback_id'], 'in developing...'); + } + public function linkXray() { $c = $this->getXray();