From 783bf3019052d7ac356a2129757bab6f4c681a4c Mon Sep 17 00:00:00 2001 From: "Kay Marquardt (Gnadelwartz)" Date: Fri, 4 Jun 2021 22:47:43 +0200 Subject: [PATCH 1/9] bin: send_message: implement read from stdin or file --- bin/send_message.sh | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/bin/send_message.sh b/bin/send_message.sh index 90ad226..f6acdb3 100755 --- a/bin/send_message.sh +++ b/bin/send_message.sh @@ -8,11 +8,15 @@ USAGE='send_message.sh [-h|--help] [format] "CHAT[ID]" "message ...." [debug]' # # DESCRIPTION: send a message to the given user/group # -# OPTIONS: format - normal, markdown, html (optional) +# OPTIONS: format - normal, markdown, html, stdin, - (optional) # CHAT[ID] - ID number of CHAT or BOTADMIN to send to yourself # message - message to send in specified format # if no format is givern send_message() format is used # +# use format "stdin" to read message from stdin or from a file: +# send_message.sh stdin "CHAT[ID]" Date: Fri, 18 Jun 2021 15:06:26 +0200 Subject: [PATCH 2/9] mycommnds.sh: fix error403 example --- mycommands.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/mycommands.sh b/mycommands.sh index 5a56c03..8a4b57d 100644 --- a/mycommands.sh +++ b/mycommands.sh @@ -13,7 +13,7 @@ # License: WTFPLv2 http://www.wtfpl.net/txt/copying/ # Author: KayM (gnadelwartz), kay@rrr.de # -#### $$VERSION$$ v1.51-0-g6e66a28 +#### $$VERSION$$ v1.52-dev-0-g783bf30 ####################################################### # shellcheck disable=SC1117 @@ -327,13 +327,13 @@ else local user="$4"; [[ -z "$4" && -n "$3" ]] && user="$3" if [ -n "${user}" ]; then # block chat/user - case "$6" in + case "$5" in *"blocked"*) - jssh_insertKeyDB "${user}" "User blocked bot on (LANG=C date)" "${BLOCKEDFILE}";; + jssh_insertKeyDB "${user}" "User blocked bot on $(LANG=C date)" "${BLOCKEDFILE}";; *"kicked"*) - jssh_insertKeyDB "${user}" "Bot kicked from chat on (LANG=C date)" "${BLOCKEDFILE}";; + jssh_insertKeyDB "${user}" "Bot kicked from chat on $(LANG=C date)" "${BLOCKEDFILE}";; *) - jssh_insertKeyDB "${user}" "Reason: $6 on (LANG=C date)" "${BLOCKEDFILE}";; + jssh_insertKeyDB "${user}" "Reason: $6 on $(LANG=C date)" "${BLOCKEDFILE}";; esac fi } From a2a392711749c0a27790ece64a3efaf639e675e5 Mon Sep 17 00:00:00 2001 From: "Kay Marquardt (Gnadelwartz)" Date: Mon, 20 Sep 2021 20:32:51 +0200 Subject: [PATCH 3/9] hide url with token from crul argc e.g. ps command --- bashbot.sh | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/bashbot.sh b/bashbot.sh index 97046eb..32efacf 100755 --- a/bashbot.sh +++ b/bashbot.sh @@ -30,7 +30,7 @@ BOTCOMMANDS="-h help init start stop status suspendback resumeback killb # 8 - curl/wget missing # 10 - not bash! # -#### $$VERSION$$ v1.51-0-g6e66a28 +#### $$VERSION$$ v1.52-dev-1-g5205fe3 ################################################################## # are we running in a terminal? @@ -550,14 +550,14 @@ if detect_curl ; then # $1 URL, $2 hack: log getJson if not "" getJson(){ # shellcheck disable=SC2086 - "${BASHBOT_CURL}" -sL -k ${BASHBOT_CURL_ARGS} -m "${TIMEOUT}" "$1" + "${BASHBOT_CURL}" -sL -k ${BASHBOT_CURL_ARGS} -m "${TIMEOUT}" -K - <<<"url=$1" } # curl variant for sendJson # usage: "JSON" "URL" sendJson_do(){ # shellcheck disable=SC2086 "${BASHBOT_CURL}" -s -k ${BASHBOT_CURL_ARGS} -m "${TIMEOUT}"\ - -d "$1" -X POST "$2" -H "Content-Type: application/json" | "${JSONSHFILE}" -b -n 2>/dev/null + -d "$1" -X POST -K - <<<"url=$2" -H "Content-Type: application/json" | "${JSONSHFILE}" -b -n 2>/dev/null } #$1 Chat, $2 what, $3 file, $4 URL, $5 caption sendUpload() { @@ -566,11 +566,11 @@ if detect_curl ; then [ -n "${BASHBOTDEBUG}" ] &&\ log_update "sendUpload CHAT=$1 WHAT=$2 FILE=$3 CAPT=$5" # shellcheck disable=SC2086 - res="$("${BASHBOT_CURL}" -s -k ${BASHBOT_CURL_ARGS} "$4" -F "chat_id=$1"\ + res="$("${BASHBOT_CURL}" -s -k ${BASHBOT_CURL_ARGS} -K - <<<"url=$4" -F "chat_id=$1"\ -F "$2=@$3;${3##*/}" -F "caption=$5" | "${JSONSHFILE}" -b -n 2>/dev/null )" else # shellcheck disable=SC2086 - res="$("${BASHBOT_CURL}" -s -k ${BASHBOT_CURL_ARGS} "$4" -F "chat_id=$1"\ + res="$("${BASHBOT_CURL}" -s -k ${BASHBOT_CURL_ARGS} -K - <<<"url=$4" -F "chat_id=$1"\ -F "$2=@$3;${3##*/}" | "${JSONSHFILE}" -b -n 2>/dev/null )" fi sendJsonResult "${res}" "sendUpload (curl)" "$@" @@ -581,14 +581,14 @@ else if _exists wget; then getJson(){ # shellcheck disable=SC2086 - wget --no-check-certificate -t 2 -T "${TIMEOUT}" ${BASHBOT_WGET_ARGS} -qO - "$1" + wget --no-check-certificate -t 2 -T "${TIMEOUT}" ${BASHBOT_WGET_ARGS} -qO - -i <<<"$1" } # curl variant for sendJson # usage: "JSON" "URL" sendJson_do(){ # shellcheck disable=SC2086 wget --no-check-certificate -t 2 -T "${TIMEOUT}" ${BASHBOT_WGET_ARGS} -qO - --post-data="$1" \ - --header='Content-Type:application/json' "$2" | "${JSONSHFILE}" -b -n 2>/dev/null + --header='Content-Type:application/json' -i <<<"$2" | "${JSONSHFILE}" -b -n 2>/dev/null } sendUpload() { log_error "Sorry, wget does not support file upload" From aad42a52fb64f10cdbbf598919c5fd213e302968 Mon Sep 17 00:00:00 2001 From: "Kay Marquardt (Gnadelwartz)" Date: Wed, 29 Sep 2021 16:56:47 +0200 Subject: [PATCH 4/9] sendMEssage: send_keyboard: send text bigger 4k seperate --- modules/sendMessage.sh | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/modules/sendMessage.sh b/modules/sendMessage.sh index 9428cff..afc2677 100644 --- a/modules/sendMessage.sh +++ b/modules/sendMessage.sh @@ -6,7 +6,7 @@ # Elsewhere, consider it to be WTFPLv2. (wtfpl.net/txt/copying) # # shellcheck disable=SC1117 -#### $$VERSION$$ v1.51-0-g6e66a28 +#### $$VERSION$$ v1.52-dev-2-ga2a3927 # will be automatically sourced from bashbot @@ -144,6 +144,12 @@ send_keyboard() { text="$(JsonEscape "$2")" text='"text":"'"${text//$'\n'/\\n}"'"' fi + # text longer than 4096, send text and keyboard separate + if [ "${#2}" -gt 4096 ]; then + send_normal_message "$1" "$2" + send_keyboard "$1" "..." "$3" + return + fi local one_time=', "one_time_keyboard":true' && [ -n "$4" ] && one_time="" # '"text":"$2", "reply_markup": {"keyboard": [ $3 ], "one_time_keyboard": true}' sendJson "$1" "${text}"', "reply_markup": {"keyboard": [ '"$3"' ] '"${one_time}"'}' "${MSG_URL}" From 1ffa890428b4443214ff1e88a352ec313b4ba00c Mon Sep 17 00:00:00 2001 From: "Kay Marquardt (Gnadelwartz)" Date: Mon, 2 May 2022 14:38:43 +0200 Subject: [PATCH 5/9] bashbot.rc: detect if bot run in both modes --- bashbot.rc | 44 ++++++++++++++++++++++---------------------- 1 file changed, 22 insertions(+), 22 deletions(-) diff --git a/bashbot.rc b/bashbot.rc index 0fe00e2..2b8357e 100755 --- a/bashbot.rc +++ b/bashbot.rc @@ -1,11 +1,11 @@ -#!/bin/sh +#!/bin/bash # description: Start or stop telegram-bash-bot # # example service script to run bashbot in background as specified user # # tested on: ubuntu, opensuse, debian # -#### $$VERSION$$ v1.51-0-g6e66a28 +#### $$VERSION$$ v1.52-dev-9-gd06c162 # shellcheck disable=SC2009 # shellcheck disable=SC2181 # shellcheck disable=SC2250 @@ -59,32 +59,32 @@ hooklog="WEBHOOK" # check for bot status +stat="" ps -f -u "${runas}" | grep "${name}" | grep -qF "bashbot.sh startbot" if [ "$?" = "0" ]; then # printf "bashbot (%s) is running in poll mode\n" "${name}" - stat="poll" + stat="${stat} polling" +fi +ps -f -u "${runas}" | grep "${name}" | grep -qF "process_batch.sh --startbot" +if [ "$?" = "0" ]; then + #printf "bashbot (%s) is running in webhook mode\n" "${name}" + stat="${stat} webhook" +elif [ "${name}" != "unknown" ]; then + #printf "bashbot (%s) is stopped\n" "${name}" + stat="stop" else - ps -f -u "${runas}" | grep "${name}" | grep -qF "process_batch.sh --startbot" - if [ "$?" = "0" ]; then - #printf "bashbot (%s) is running in webhook mode\n" "${name}" - stat="hook" - elif [ "${name}" != "unknown" ]; then - #printf "bashbot (%s) is stopped\n" "${name}" - stat="stop" - else - stat="unknown" - fi + stat="unknown" fi case "$1" in 'start') - [ "${stat}" != "stop" ] && printf "Warning, bot is running in mode: %s\n" "${stat}" + [ "${stat}" != "stop" ] && printf "Warning, bot is already running in mode: %s\n" "${stat}" $runcmd "$bashbot start $mode" # >/dev/null 2>&1 >${bashbotdir}/logs/${hooklog}.log &" # >/dev/null 2>&1 /dev/null" + $runcmd "kill ${KILLID} 2>/dev/null; wait ${KILLID} 2>/dev/null" sleep 1 fi RETVAL=$? @@ -109,13 +109,13 @@ case "$1" in ;; 'status') case "${stat}" in - "poll"*) printf "bashbot (%s) is running in poll mode\n" "${name}" + *"poll"*) printf "bashbot (%s) is running in polling mode\n" "${name}" + RETVAL=0 + ;;& + *"hook"*) printf "bashbot (%s) is running in webhook mode\n" "${name}" RETVAL=0 ;; - "hook"*) printf "bashbot (%s) is running in webhook mode\n" "${name}" - RETVAL=0 - ;; - "stop"*) printf "bashbot (%s) is not running\n" "${name}" + *"stop"*) printf "bashbot (%s) is not running\n" "${name}" RETVAL=1 ;; *) printf "bashbot (%s) status is %s\n" "${name}" "${stat}" @@ -137,7 +137,7 @@ case "$1" in ;; 'suspendback'|'resumeback'|'killback') # shellcheck disable=SC2250 - $runcmd "$bashbot $1 $mode" + $runcmd "$bashbot $1" RETVAL=$? # kill inotifywait from runuser if [ "$1" != "resumeback" ]; then From 67d75feace1e7dac3ec5995f292cc8534ee8a545 Mon Sep 17 00:00:00 2001 From: "Kay Marquardt (Gnadelwartz)" Date: Tue, 3 May 2022 23:48:49 +0200 Subject: [PATCH 6/9] bashbot.rc: fix stop warning for mode --- bashbot.rc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bashbot.rc b/bashbot.rc index 2b8357e..01809de 100755 --- a/bashbot.rc +++ b/bashbot.rc @@ -5,7 +5,7 @@ # # tested on: ubuntu, opensuse, debian # -#### $$VERSION$$ v1.52-dev-9-gd06c162 +#### $$VERSION$$ v1.52-dev-10-g1ffa890 # shellcheck disable=SC2009 # shellcheck disable=SC2181 # shellcheck disable=SC2250 @@ -92,12 +92,12 @@ case "$1" in RETVAL=$? ;; 'stop') - [ "${stat}" != "poll" ] && printf "Warning, bot is not in poll mode: %s\n" "${stat}" + [[ "${stat}" != *"poll"* ]] && printf "Warning, bot is not in poll mode: %s\n" "${stat}" $runcmd "$bashbot stop $mode" RETVAL=$? ;; 'stophook') - [ "${stat}" != "hook" ] && printf "Warning, bot is not in webhook mode: %s\n" "${stat}" + [[ "${stat}" != *"hook"* ]] && printf "Warning, bot is not in webhook mode: %s\n" "${stat}" printf "Stopping bashbot webhook mode ... " KILLID="$(ps -f -u "${runas}" | grep "process_batch.sh --startbot" | sed -E 's/[^0-9]+([0-9]+).*/\1/' | tr -s "\r\n" " ")" if [ -n "${KILLID}" ]; then From 58e6d0aaf6f053d365f8041ca73d1e751ac70d46 Mon Sep 17 00:00:00 2001 From: "Kay Marquardt (Gnadelwartz)" Date: Thu, 12 May 2022 17:46:40 +0200 Subject: [PATCH 7/9] modules/sendMessage: send_file: fix double escaped caption --- modules/sendMessage.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/modules/sendMessage.sh b/modules/sendMessage.sh index afc2677..bf0b5de 100644 --- a/modules/sendMessage.sh +++ b/modules/sendMessage.sh @@ -6,7 +6,7 @@ # Elsewhere, consider it to be WTFPLv2. (wtfpl.net/txt/copying) # # shellcheck disable=SC1117 -#### $$VERSION$$ v1.52-dev-2-ga2a3927 +#### $$VERSION$$ v1.52-dev-11-g67d75fe # will be automatically sourced from bashbot @@ -272,8 +272,7 @@ fi # supports local file, URL and file_id # $1 chat, $2 file https::// file_id:// , $3 caption, $4 extension (optional) send_file(){ - local url what num stat media capt file="$2" ext="$4" - capt="$(JsonEscape "$3")" + local url what num stat media capt="$3" file="$2" ext="$4" if [[ "${file}" =~ ^https*:// ]]; then media="URL" elif [[ "${file}" == file_id://* ]]; then From 1a83202a07a68fc044b5c5b65abee311acbe56d1 Mon Sep 17 00:00:00 2001 From: "Kay Marquardt (Gnadelwartz)" Date: Mon, 27 Jun 2022 19:49:55 +0200 Subject: [PATCH 8/9] modules/chatMember: fix missing quotes around user_id --- modules/chatMember.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/chatMember.sh b/modules/chatMember.sh index 9a3544f..f7864fd 100644 --- a/modules/chatMember.sh +++ b/modules/chatMember.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$$ v1.51-0-g6e66a28 +#### $$VERSION$$ v1.52-dev-12-g58e6d0a # will be automatically sourced from bashbot @@ -73,11 +73,11 @@ chat_member_count() { } kick_chat_member() { - sendJson "$1" 'user_id: '"$2"'' "${URL}/kickChatMember" + sendJson "$1" '"user_id": '"$2"'' "${URL}/kickChatMember" } unban_chat_member() { - sendJson "$1" 'user_id: '"$2"'' "${URL}/unbanChatMember" + sendJson "$1" '"user_id": '"$2"'' "${URL}/unbanChatMember" } leave_chat() { From 0dae2db8acac7df802919a64aa90a78a663e71bc Mon Sep 17 00:00:00 2001 From: "Kay Marquardt (Gnadelwartz)" Date: Mon, 27 Jun 2022 19:55:03 +0200 Subject: [PATCH 9/9] Bashbot Version 1.52 --- README.html | 2 +- README.md | 2 +- README.txt | 2 +- addons/antiFlood.sh | 2 +- addons/example.sh | 2 +- bashbot.rc | 2 +- bashbot.sh | 2 +- bin/any_command.sh | 2 +- bin/bashbot_env.inc.sh | 2 +- bin/bashbot_init.inc.sh | 2 +- bin/bashbot_stats.sh | 2 +- bin/delete_message.sh | 2 +- bin/edit_buttons.sh | 2 +- bin/edit_message.sh | 2 +- bin/kickban_user.sh | 2 +- bin/process_batch.sh | 2 +- bin/process_update.sh | 2 +- bin/promote_user.sh | 2 +- bin/send_broadcast.sh | 2 +- bin/send_buttons.sh | 2 +- bin/send_dice.sh | 2 +- bin/send_file.sh | 2 +- bin/send_message.sh | 2 +- commands.sh | 2 +- dev/all-tests.sh | 2 +- dev/dev.inc.sh | 2 +- dev/git-add.sh | 2 +- dev/hooks/post-commit.sh | 2 +- dev/hooks/pre-commit.sh | 2 +- dev/hooks/pre-push.sh | 2 +- dev/inject-json.sh | 2 +- dev/install-hooks.sh | 2 +- dev/make-distribution.sh | 2 +- dev/make-html.sh | 2 +- dev/make-standalone.sh | 2 +- dev/obfuscate.sh | 2 +- dev/shellcheck.files | 2 +- dev/version.sh | 2 +- doc/0_install.md | 2 +- doc/1_firstbot.md | 2 +- doc/2_usage.md | 2 +- doc/3_advanced.md | 2 +- doc/4_expert.md | 2 +- doc/5_practice.md | 2 +- doc/6_reference.md | 2 +- doc/7_develop.md | 2 +- examples/README.md | 2 +- examples/background-scripts/run_diskusage.sh | 2 +- examples/background-scripts/run_filecontent.sh | 2 +- examples/background-scripts/run_filename.sh | 2 +- examples/background-scripts/run_notify.sh | 2 +- examples/bash2env.sh | 2 +- examples/bashbot-multi.sh | 2 +- examples/bashbot.cron | 2 +- examples/calc.sh | 2 +- examples/jsonDB-keyboard/mycommands.sh | 2 +- examples/notify.sh | 2 +- examples/question.sh | 2 +- examples/send-system-status/botacl | 2 +- examples/send-system-status/mycommands.sh | 2 +- examples/webhook/README.md | 2 +- examples/webhook/index.php | 2 +- modules/aliases.sh | 2 +- modules/answerInline.sh | 2 +- modules/background.sh | 2 +- modules/chatMember.sh | 2 +- modules/jsonDB.sh | 2 +- modules/processUpdates.sh | 2 +- modules/sendMessage.sh | 2 +- mycommands.conf | 2 +- mycommands.sh | 2 +- mycommands.sh.clean | 2 +- scripts/interactive.sh.clean | 2 +- test/ADD-test-new.sh | 2 +- test/ALL-tests.inc.sh | 2 +- test/a-commit-test.sh | 2 +- test/b-example-test.sh | 2 +- test/c-init-test.sh | 2 +- test/d-JSON.sh-test.sh | 2 +- test/d-process_inline-test.sh | 2 +- test/d-process_message-test.sh | 2 +- test/d-send_message-test.sh | 2 +- test/d-user_is-test.sh | 2 +- test/e-env-test.sh | 2 +- 84 files changed, 84 insertions(+), 84 deletions(-) diff --git a/README.html b/README.html index bc5abc2..d14379b 100644 --- a/README.html +++ b/README.html @@ -263,6 +263,6 @@ It features background tasks and interactive chats, and can serve as an interfac

@Gnadelwartz

That's it all guys!

If you feel that there's something missing or if you found a bug, feel free to submit a pull request!

-

$$VERSION$$ v1.51-0-g6e66a28

+

$$VERSION$$ v1.52-0-g1a83202

diff --git a/README.md b/README.md index 8783cdd..6260bc9 100644 --- a/README.md +++ b/README.md @@ -242,4 +242,4 @@ See `mycommnds.sh.dist` for an example. If you feel that there's something missing or if you found a bug, feel free to submit a pull request! -#### $$VERSION$$ v1.51-0-g6e66a28 +#### $$VERSION$$ v1.52-0-g1a83202 diff --git a/README.txt b/README.txt index b05bd68..0bf5858 100644 --- a/README.txt +++ b/README.txt @@ -319,5 +319,5 @@ That's it all guys! If you feel that there's something missing or if you found a bug, feel free to submit a pull request! -$$VERSION$$ v1.51-0-g6e66a28 +$$VERSION$$ v1.52-0-g1a83202 diff --git a/addons/antiFlood.sh b/addons/antiFlood.sh index c94fc01..c6932f7 100644 --- a/addons/antiFlood.sh +++ b/addons/antiFlood.sh @@ -4,7 +4,7 @@ # this addon counts how many files, e.g. stickers, are sent to # a chat and takes actions if threshold is reached # -#### $$VERSION$$ v1.51-0-g6e66a28 +#### $$VERSION$$ v1.52-0-g1a83202 # used events: # diff --git a/addons/example.sh b/addons/example.sh index 4a7bb45..fd552cf 100644 --- a/addons/example.sh +++ b/addons/example.sh @@ -4,7 +4,7 @@ # Addons can register to bashbot events at startup # by providing their name and a callback per event # -#### $$VERSION$$ v1.51-0-g6e66a28 +#### $$VERSION$$ v1.52-0-g1a83202 # # If an event occurs each registered event function is called. # diff --git a/bashbot.rc b/bashbot.rc index 01809de..0c4a24d 100755 --- a/bashbot.rc +++ b/bashbot.rc @@ -5,7 +5,7 @@ # # tested on: ubuntu, opensuse, debian # -#### $$VERSION$$ v1.52-dev-10-g1ffa890 +#### $$VERSION$$ v1.52-0-g1a83202 # shellcheck disable=SC2009 # shellcheck disable=SC2181 # shellcheck disable=SC2250 diff --git a/bashbot.sh b/bashbot.sh index 32efacf..cbb1958 100755 --- a/bashbot.sh +++ b/bashbot.sh @@ -30,7 +30,7 @@ BOTCOMMANDS="-h help init start stop status suspendback resumeback killb # 8 - curl/wget missing # 10 - not bash! # -#### $$VERSION$$ v1.52-dev-1-g5205fe3 +#### $$VERSION$$ v1.52-0-g1a83202 ################################################################## # are we running in a terminal? diff --git a/bin/any_command.sh b/bin/any_command.sh index 0e0505f..e42958c 100755 --- a/bin/any_command.sh +++ b/bin/any_command.sh @@ -21,7 +21,7 @@ USAGE='any_command.sh [-h|--help] [--force|--reference] bot_command args ...' # AUTHOR: KayM (gnadelwartz), kay@rrr.de # CREATED: 30.01.2021 10:24 # -#### $$VERSION$$ v1.51-0-g6e66a28 +#### $$VERSION$$ v1.52-0-g1a83202 #=============================================================================== #### diff --git a/bin/bashbot_env.inc.sh b/bin/bashbot_env.inc.sh index e9ff0fe..dd92c54 100644 --- a/bin/bashbot_env.inc.sh +++ b/bin/bashbot_env.inc.sh @@ -13,7 +13,7 @@ # AUTHOR: KayM (gnadelwartz), kay@rrr.de # CREATED: 18.12.2020 12:27 # -#### $$VERSION$$ v1.51-0-g6e66a28 +#### $$VERSION$$ v1.52-0-g1a83202 #=============================================================================== ############ diff --git a/bin/bashbot_init.inc.sh b/bin/bashbot_init.inc.sh index 4b11924..0e00113 100644 --- a/bin/bashbot_init.inc.sh +++ b/bin/bashbot_init.inc.sh @@ -11,7 +11,7 @@ # AUTHOR: KayM (gnadelwartz), kay@rrr.de # CREATED: 27.01.2021 13:42 # -#### $$VERSION$$ v1.51-0-g6e66a28 +#### $$VERSION$$ v1.52-0-g1a83202 #=============================================================================== # shellcheck disable=SC2059 diff --git a/bin/bashbot_stats.sh b/bin/bashbot_stats.sh index 394dfdc..49476e7 100755 --- a/bin/bashbot_stats.sh +++ b/bin/bashbot_stats.sh @@ -17,7 +17,7 @@ USAGE='bashbot_stats.sh [-h|--help] [debug]' # AUTHOR: KayM (gnadelwartz), kay@rrr.de # CREATED: 23.12.2020 20:34 # -#### $$VERSION$$ v1.51-0-g6e66a28 +#### $$VERSION$$ v1.52-0-g1a83202 #=============================================================================== # set bashbot environment diff --git a/bin/delete_message.sh b/bin/delete_message.sh index 20cfafe..57c31bc 100755 --- a/bin/delete_message.sh +++ b/bin/delete_message.sh @@ -20,7 +20,7 @@ USAGE='delete_message.sh [-h|--help] "CHAT[ID]" "MESSAGE[ID]" [debug]' # AUTHOR: KayM (gnadelwartz), kay@rrr.de # CREATED: 03.01.2021 15:37 # -#### $$VERSION$$ v1.51-0-g6e66a28 +#### $$VERSION$$ v1.52-0-g1a83202 #=============================================================================== #### diff --git a/bin/edit_buttons.sh b/bin/edit_buttons.sh index 429854c..cd16bbe 100755 --- a/bin/edit_buttons.sh +++ b/bin/edit_buttons.sh @@ -26,7 +26,7 @@ USAGE='send_message.sh [-h|--help] "CHAT[ID]" "MESSAGE[ID]" "text|url" ...' # AUTHOR: KayM (gnadelwartz), kay@rrr.de # CREATED: 21.01.2021 08:10 # -#### $$VERSION$$ v1.51-0-g6e66a28 +#### $$VERSION$$ v1.52-0-g1a83202 #=============================================================================== #### diff --git a/bin/edit_message.sh b/bin/edit_message.sh index dd4c57b..b9773e6 100755 --- a/bin/edit_message.sh +++ b/bin/edit_message.sh @@ -23,7 +23,7 @@ USAGE='send_edit_message.sh [-h|--help] [format|caption] "CHAT[ID]" "MESSAGE[ID] # AUTHOR: KayM (gnadelwartz), kay@rrr.de # CREATED: 23.12.2020 16:52 # -#### $$VERSION$$ v1.51-0-g6e66a28 +#### $$VERSION$$ v1.52-0-g1a83202 #=============================================================================== #### diff --git a/bin/kickban_user.sh b/bin/kickban_user.sh index 2397b48..8c65744 100755 --- a/bin/kickban_user.sh +++ b/bin/kickban_user.sh @@ -20,7 +20,7 @@ USAGE='kickban_user.sh [-h|--help] [-u|--unban] "CHAT[ID]" "USER[ID]" [debug]' # AUTHOR: KayM (gnadelwartz), kay@rrr.de # CREATED: 25.01.2021 20:34 # -#### $$VERSION$$ v1.51-0-g6e66a28 +#### $$VERSION$$ v1.52-0-g1a83202 #=============================================================================== #### diff --git a/bin/process_batch.sh b/bin/process_batch.sh index aafead6..09f1cb6 100755 --- a/bin/process_batch.sh +++ b/bin/process_batch.sh @@ -21,7 +21,7 @@ USAGE='process_batch.sh [-h|--help] [-s|--startbot] [-w|--watch] [-n|--lines n] # AUTHOR: KayM (gnadelwartz), kay@rrr.de # CREATED: 27.02.2021 13:14 # -#### $$VERSION$$ v1.51-0-g6e66a28 +#### $$VERSION$$ v1.52-0-g1a83202 #=============================================================================== #### diff --git a/bin/process_update.sh b/bin/process_update.sh index f6fac4d..c177765 100755 --- a/bin/process_update.sh +++ b/bin/process_update.sh @@ -15,7 +15,7 @@ USAGE='process_update.sh [-h|--help] [debug] [