diff --git a/README.md b/README.md index 260babf..4cb1735 100644 --- a/README.md +++ b/README.md @@ -93,4 +93,4 @@ Well, thats a damn good question ... may be because I'm an Unix/Linux admin from If you feel that there's something missing or if you found a bug, feel free to submit a pull request! -#### $$VERSION$$ v0.70-pre1-5-g07dc7b4 +#### $$VERSION$$ v0.70-pre1-6-g3cd6eeb diff --git a/README.txt b/README.txt index 7706193..4486150 100644 --- a/README.txt +++ b/README.txt @@ -147,5 +147,5 @@ That's it! If you feel that there's something missing or if you found a bug, feel free to submit a pull request! -latexmath:[\[VERSION\]] v0.70-pre1-5-g07dc7b4 +latexmath:[\[VERSION\]] v0.70-pre1-6-g3cd6eeb +++++++++++++++++++++++++++++++++++++++++++++ diff --git a/doc/3_advanced.md b/doc/3_advanced.md index f9a187b..7005b25 100644 --- a/doc/3_advanced.md +++ b/doc/3_advanced.md @@ -95,10 +95,18 @@ echo "Text that will appear in chat? mykeyboardstartshere [ \"Yep, sure\" , \"No ``` Please note that you can either send a location or a venue, not both. To send a venue add the mytitlestartshere and the myaddressstartshere keywords. -To insert a linebreak in your message you can insert ```mynewlinestartshere``` in your echo command: +New in v0.6: To insert a linebreak in your message you can insert ```mynewlinestartshere``` in your echo command: ```bash echo "Text that will appear in one message mynewlinestartshere with this text on a new line" ``` + +New in v0.7: In case you must extend a message already containing a location, a file, a keyboard etc., +with additionial text simply add ``` mytextstartshere additional text``` at the end of the string: +```bash +out="Text that will appear mylatstartshere 45 mylongstartshere 45" +[[ "$out" != *'in chat'* ]] && out="$out mytextstartshere in chat." +echo "$out" +``` Note: Interactive Chats run independent from main bot and continue running until your script exits or you /cancel if from your Bot. ### Background Jobs @@ -169,5 +177,5 @@ answer_inline_query "$iQUERY_ID" "cached_sticker" "identifier for the sticker" #### [Prev Getting started](2_usage.md) #### [Next Expert Use](4_expert.md) -#### $$VERSION$$ v0.70-pre1-2-g293ad08 +#### $$VERSION$$ v0.70-pre1-6-g3cd6eeb diff --git a/modules/background.sh b/modules/background.sh index d9e3dea..84b5091 100644 --- a/modules/background.sh +++ b/modules/background.sh @@ -5,7 +5,7 @@ # This file is public domain in the USA and all free countries. # Elsewhere, consider it to be WTFPLv2. (wtfpl.net/txt/copying) # -#### $$VERSION$$ v0.70-pre1-5-g07dc7b4 +#### $$VERSION$$ v0.70-pre1-6-g3cd6eeb # source from commands.sh if you want ro use interactive or background jobs diff --git a/test/a-commit-test.sh b/test/a-commit-test.sh old mode 100644 new mode 100755 diff --git a/test/a-push-test.sh b/test/a-push-test.sh deleted file mode 100644 index c3b36a9..0000000 --- a/test/a-push-test.sh +++ /dev/null @@ -1,4 +0,0 @@ -#!/usr/bin/env bash -#### $$VERSION$$ v0.70-pre1-0-g490c472 - -../dev/hooks/pre-push.sh diff --git a/test/d-JSON.sh-test.sh b/test/d-JSON.sh-test.sh old mode 100644 new mode 100755 diff --git a/test/d-process_message-test.sh b/test/d-process_message-test.sh old mode 100644 new mode 100755 diff --git a/test/d-send_message-test.sh b/test/d-send_message-test.sh index 5a54f61..c520690 100755 --- a/test/d-send_message-test.sh +++ b/test/d-send_message-test.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -#### $$VERSION$$ v0.70-pre1-5-g07dc7b4 +#### $$VERSION$$ v0.70-pre1-6-g3cd6eeb # include common functions and definitions # shellcheck source=test/ALL-tests.inc.sh diff --git a/test/d-user_is-test.sh b/test/d-user_is-test.sh old mode 100644 new mode 100755