remove tmux (c) and tmux example

This commit is contained in:
Kay Marquardt (Gnadelwartz) 2019-05-20 19:49:41 +02:00
parent 300553f8ba
commit f1ebdbb72d
2 changed files with 3 additions and 4 deletions

View File

@ -8,11 +8,10 @@
# https://github.com/topkecleon/telegram-bot-bash # https://github.com/topkecleon/telegram-bot-bash
# Depends on JSON.sh (http://github.com/dominictarr/JSON.sh) (MIT/Apache), # 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. # This file is public domain in the USA and all free countries.
# Elsewhere, consider it to be WTFPLv2. (wtfpl.net/txt/copying) # Elsewhere, consider it to be WTFPLv2. (wtfpl.net/txt/copying)
# #
#### $$VERSION$$ v0.80-pre-6-gd34c22f #### $$VERSION$$ v0.80-pre-7-g300553f
# #
# Exit Codes: # Exit Codes:
# - 0 sucess (hopefully) # - 0 sucess (hopefully)

View File

@ -61,7 +61,7 @@ every line from ```'/command')``` to ```;;```.
# ;; # ;;
*) # forward other messages to optional dispatcher *) # 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 _is_function mycommands && mycommands
;; ;;
esac 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) #### [Prev Best Practice](5_practice.md)
#### [Next Functions Reference](6_reference.md) #### [Next Functions Reference](6_reference.md)
#### $$VERSION$$ v0.80-pre-0-gdd7c66d #### $$VERSION$$ v0.80-pre-7-g300553f