runCommands($commands); } catch (Longman\TelegramBot\Exception\TelegramException $e) { // Log telegram errors Longman\TelegramBot\TelegramLog::error($e); // Uncomment this to output any errors (ONLY FOR DEVELOPMENT!) // echo $e; } catch (Longman\TelegramBot\Exception\TelegramLogException $e) { // Uncomment this to output log initialisation errors (ONLY FOR DEVELOPMENT!) // echo $e; }