|
@@ -916,7 +916,7 @@ discard block |
|
|
block discarded – undo |
|
916
|
916
|
} |
|
917
|
917
|
|
|
918
|
918
|
$this->run_commands = true; |
|
919
|
|
- $this->botan_enabled = false; // Force disable Botan.io integration, we don't want to track self-executed commands! |
|
|
919
|
+ $this->botan_enabled = false; // Force disable Botan.io integration, we don't want to track self-executed commands! |
|
920
|
920
|
|
|
921
|
921
|
$result = Request::getMe()->getResult(); |
|
922
|
922
|
|
|
@@ -928,8 +928,8 @@ discard block |
|
|
block discarded – undo |
|
928
|
928
|
$bot_name = $result->getFirstName(); |
|
929
|
929
|
$bot_username = $result->getUsername(); |
|
930
|
930
|
|
|
931
|
|
- $this->enableAdmin($bot_id); // Give bot access to admin commands |
|
932
|
|
- $this->getCommandsList(); // Load full commands list |
|
|
931
|
+ $this->enableAdmin($bot_id); // Give bot access to admin commands |
|
|
932
|
+ $this->getCommandsList(); // Load full commands list |
|
933
|
933
|
|
|
934
|
934
|
foreach ($commands as $command) { |
|
935
|
935
|
$this->update = new Update( |
Please login to merge, or discard this patch.