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