|
@@ -854,7 +854,7 @@ discard block |
|
|
block discarded – undo |
|
854
|
854
|
throw new TelegramException('No command(s) provided!'); |
|
855
|
855
|
} |
|
856
|
856
|
|
|
857
|
|
- $this->botan_enabled = false; // Force disable Botan.io integration, we don't want to track self-executed commands! |
|
|
857
|
+ $this->botan_enabled = false; // Force disable Botan.io integration, we don't want to track self-executed commands! |
|
858
|
858
|
|
|
859
|
859
|
$result = Request::getMe()->getResult(); |
|
860
|
860
|
|
|
@@ -866,8 +866,8 @@ discard block |
|
|
block discarded – undo |
|
866
|
866
|
$bot_name = $result->getFirstName(); |
|
867
|
867
|
$bot_username = $result->getUsername(); |
|
868
|
868
|
|
|
869
|
|
- $this->enableAdmin($bot_id); // Give bot access to admin commands |
|
870
|
|
- $this->getCommandsList(); // Load full commands list |
|
|
869
|
+ $this->enableAdmin($bot_id); // Give bot access to admin commands |
|
|
870
|
+ $this->getCommandsList(); // Load full commands list |
|
871
|
871
|
|
|
872
|
872
|
foreach ($commands as $command) { |
|
873
|
873
|
$this->update = new Update( |
Please login to merge, or discard this patch.