diff --git a/bashbot.sh b/bashbot.sh index 1533ec2..174a761 100755 --- a/bashbot.sh +++ b/bashbot.sh @@ -12,7 +12,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.80-dev2-21-gd01addf +#### $$VERSION$$ v0.80-dev2-23-g085d85d # # Exit Codes: # - 0 sucess (hopefully) @@ -475,12 +475,10 @@ if [ "$1" != "source" ]; then tmux kill-session -t "$ME" &>/dev/null tmux new-session -d -s "$ME" "bash $SCRIPT startbot" && echo -e "${GREEN}Bot started successfully.${NC}" echo "Tmux session name $ME" || echo -e "${RED}An error occurred while starting the bot. ${NC}" - send_markdown_message "${CHAT[ID]}" "*Bot started*" ;; "kill") ${CLEAR} tmux kill-session -t "$ME" &>/dev/null - send_markdown_message "${CHAT[ID]}" "*Bot stopped*" echo -e "${GREEN}OK. Bot stopped successfully.${NC}" ;; "background" | "resumeback") diff --git a/doc/0_install.md b/doc/0_install.md index 96c557c..e6f717e 100644 --- a/doc/0_install.md +++ b/doc/0_install.md @@ -70,5 +70,5 @@ The old format is supported for backward compatibility, but may fail for corner #### [Next Create Bot](1_firstbot.md) -#### $$VERSION$$ v0.80-dev2-11-gb55c171 +#### $$VERSION$$ v0.80-dev2-22-ga72f24a diff --git a/doc/1_firstbot.md b/doc/1_firstbot.md index 3329a7e..f54b767 100644 --- a/doc/1_firstbot.md +++ b/doc/1_firstbot.md @@ -65,5 +65,5 @@ group. This step is up to you actually. #### [Prev Installation](0_install.md) #### [Next Getting started](2_usage.md) -#### $$VERSION$$ v0.80-dev2-1-g0b36bc5 +#### $$VERSION$$ v0.80-dev2-22-ga72f24a diff --git a/doc/2_usage.md b/doc/2_usage.md index c88a85c..6f7051f 100644 --- a/doc/2_usage.md +++ b/doc/2_usage.md @@ -182,5 +182,5 @@ send_action "${CHAT[ID]}" "action" #### [Prev Create Bot](1_firstbot.md) #### [Next Advanced Usage](3_advanced.md) -#### $$VERSION$$ v0.80-dev2-1-g0b36bc5 +#### $$VERSION$$ v0.80-dev2-22-ga72f24a diff --git a/doc/3_advanced.md b/doc/3_advanced.md index c4af452..31713cd 100644 --- a/doc/3_advanced.md +++ b/doc/3_advanced.md @@ -180,5 +180,5 @@ See also [answer_inline_multi, answer_inline_compose](6_reference.md#answer_inli #### [Prev Getting started](2_usage.md) #### [Next Expert Use](4_expert.md) -#### $$VERSION$$ v0.80-dev2-1-g0b36bc5 +#### $$VERSION$$ v0.80-dev2-22-ga72f24a diff --git a/doc/4_expert.md b/doc/4_expert.md index b7f40af..fbf6f8d 100644 --- a/doc/4_expert.md +++ b/doc/4_expert.md @@ -104,5 +104,5 @@ An example crontab is provided in ```examples/bashbot.cron```. #### [Prev Expert Use](4_expert.md) #### [Next Best Practice](5_practice.md) -#### $$VERSION$$ v0.80-dev2-1-g0b36bc5 +#### $$VERSION$$ v0.80-dev2-22-ga72f24a diff --git a/doc/5_practice.md b/doc/5_practice.md index f11d950..3dd6e34 100644 --- a/doc/5_practice.md +++ b/doc/5_practice.md @@ -153,5 +153,5 @@ The second warning is about an unused variable, this is true because in our exam #### [Prev Best Practice](5_practice.md) #### [Next Functions Reference](6_reference.md) -#### $$VERSION$$ v0.80-dev2-1-g0b36bc5 +#### $$VERSION$$ v0.80-dev2-22-ga72f24a diff --git a/doc/6_reference.md b/doc/6_reference.md index e94bdff..2acb4b8 100644 --- a/doc/6_reference.md +++ b/doc/6_reference.md @@ -592,5 +592,5 @@ Send Input from Telegram to waiting Interactive Chat. #### [Prev Best Practice](5_practice.md) #### [Next Notes for Developers](7_develop.md) -#### $$VERSION$$ v0.80-dev2-1-g0b36bc5 +#### $$VERSION$$ v0.80-dev2-22-ga72f24a diff --git a/doc/7_develop.md b/doc/7_develop.md index d4dd062..3c0b5ff 100644 --- a/doc/7_develop.md +++ b/doc/7_develop.md @@ -188,5 +188,5 @@ fi #### [Prev Function Reference](6_reference.md) #### [Next Bashbot Environment](8_custom.md) -#### $$VERSION$$ v0.80-dev2-15-geb0cde5 +#### $$VERSION$$ v0.80-dev2-22-ga72f24a diff --git a/doc/8_custom.md b/doc/8_custom.md index 0b27d14..789327f 100644 --- a/doc/8_custom.md +++ b/doc/8_custom.md @@ -131,5 +131,5 @@ for every poll until the maximum of BASHBOT_SLEEP ms. #### [Prev Notes for Developers](7_develop.md) -#### $$VERSION$$ v0.80-dev2-14-gaacdc76 +#### $$VERSION$$ v0.80-dev2-22-ga72f24a diff --git a/mycommands.sh b/mycommands.sh index 52cf942..9be49f6 100644 --- a/mycommands.sh +++ b/mycommands.sh @@ -2,7 +2,7 @@ # files: mycommands.sh.dist # copy to mycommands.sh and add all your commands and functions here ... # -#### $$VERSION$$ v0.80-dev2-21-gd01addf +#### $$VERSION$$ v0.80-dev2-22-ga72f24a # # uncomment the following lines to overwrite info and help messages