From f1ebdbb72d08137efc4ff8f215fa801f2270fa7e Mon Sep 17 00:00:00 2001 From: "Kay Marquardt (Gnadelwartz)" Date: Mon, 20 May 2019 19:49:41 +0200 Subject: [PATCH] remove tmux (c) and tmux example --- bashbot.sh | 3 +-- doc/5_practice.md | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/bashbot.sh b/bashbot.sh index 41d448d..b6059ac 100755 --- a/bashbot.sh +++ b/bashbot.sh @@ -8,11 +8,10 @@ # https://github.com/topkecleon/telegram-bot-bash # Depends on JSON.sh (http://github.com/dominictarr/JSON.sh) (MIT/Apache), -# and on tmux (http://github.com/tmux/tmux) (BSD). # 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-pre-6-gd34c22f +#### $$VERSION$$ v0.80-pre-7-g300553f # # Exit Codes: # - 0 sucess (hopefully) diff --git a/doc/5_practice.md b/doc/5_practice.md index bc02fd0..f8e9436 100644 --- a/doc/5_practice.md +++ b/doc/5_practice.md @@ -61,7 +61,7 @@ every line from ```'/command')``` to ```;;```. # ;; *) # forward other messages to optional dispatcher - _is_function startproc && if tmux ls | grep -v send | grep -q "$copname"; then inproc; fi # interactive running + _is_function send_interactive && send_interactive "${CHAT[ID]}" "${MESSAGE}" _is_function mycommands && mycommands ;; esac @@ -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-pre-0-gdd7c66d +#### $$VERSION$$ v0.80-pre-7-g300553f