|
@@ -908,7 +908,7 @@ discard block |
|
|
block discarded – undo |
|
908
|
908
|
} |
|
909
|
909
|
|
|
910
|
910
|
$this->run_commands = true; |
|
911
|
|
- $this->botan_enabled = false; // Force disable Botan.io integration, we don't want to track self-executed commands! |
|
|
911
|
+ $this->botan_enabled = false; // Force disable Botan.io integration, we don't want to track self-executed commands! |
|
912
|
912
|
|
|
913
|
913
|
$result = Request::getMe()->getResult(); |
|
914
|
914
|
|
|
@@ -920,8 +920,8 @@ discard block |
|
|
block discarded – undo |
|
920
|
920
|
$bot_name = $result->getFirstName(); |
|
921
|
921
|
$bot_username = $result->getUsername(); |
|
922
|
922
|
|
|
923
|
|
- $this->enableAdmin($bot_id); // Give bot access to admin commands |
|
924
|
|
- $this->getCommandsList(); // Load full commands list |
|
|
923
|
+ $this->enableAdmin($bot_id); // Give bot access to admin commands |
|
|
924
|
+ $this->getCommandsList(); // Load full commands list |
|
925
|
925
|
|
|
926
|
926
|
foreach ($commands as $command) { |
|
927
|
927
|
$this->update = new Update( |
Please login to merge, or discard this patch.