|
@@ -318,13 +318,13 @@ |
|
|
block discarded – undo |
|
318
|
318
|
*/ |
|
319
|
319
|
public function setBotExtras() |
|
320
|
320
|
{ |
|
321
|
|
- isset($this->admins) && $this->telegram->enableAdmins((array)$this->admins); |
|
322
|
|
- isset($this->mysql) && $this->telegram->enableMySql($this->mysql); |
|
323
|
|
- isset($this->botan_token) && $this->telegram->enableBotan($this->botan_token); |
|
|
321
|
+ isset($this->admins) && $this->telegram->enableAdmins((array)$this->admins); |
|
|
322
|
+ isset($this->mysql) && $this->telegram->enableMySql($this->mysql); |
|
|
323
|
+ isset($this->botan_token) && $this->telegram->enableBotan($this->botan_token); |
|
324
|
324
|
isset($this->commands_paths) && $this->telegram->addCommandsPaths((array)$this->commands_paths); |
|
325
|
|
- isset($this->custom_input) && $this->telegram->setCustomInput($this->custom_input); |
|
326
|
|
- isset($this->download_path) && $this->telegram->setDownloadPath($this->download_path); |
|
327
|
|
- isset($this->upload_path) && $this->telegram->setUploadPath($this->upload_path); |
|
|
325
|
+ isset($this->custom_input) && $this->telegram->setCustomInput($this->custom_input); |
|
|
326
|
+ isset($this->download_path) && $this->telegram->setDownloadPath($this->download_path); |
|
|
327
|
+ isset($this->upload_path) && $this->telegram->setUploadPath($this->upload_path); |
|
328
|
328
|
|
|
329
|
329
|
if (isset($this->command_configs) && is_array($this->command_configs)) { |
|
330
|
330
|
foreach ($this->command_configs as $command => $config) { |
Please login to merge, or discard this patch.