diff --git a/bashbot.sh b/bashbot.sh index 32da63f..365fef3 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.30-dev-6-g87f618f +#### $$VERSION$$ v1.30-dev-8-gafade2e ################################################################## # emmbeded system may claim bash but it is not @@ -397,7 +397,7 @@ delete_message() { get_file() { [ -z "$1" ] && return - sendJson "" '"file_id": "'"$1"'"' "${URL}/getFIle" + sendJson "" '"file_id": "'"$1"'"' "${URL}/getFile" printf '%s\n' "${URL}"/"$(JsonGetString <<< "${res}" '"result","file_path"')" } diff --git a/modules/sendMessage.sh b/modules/sendMessage.sh index 4683ad7..6b3d214 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.30-dev-7-g71daed3 +#### $$VERSION$$ v1.30-dev-8-gafade2e # will be automatically sourced from bashbot @@ -150,7 +150,7 @@ send_button() { # $1 chat, $2 file_id on telegram server send_sticker() { - sendJson "$1" '"sticker": "'"$2"'"' "${URL}/setChatDescription" + sendJson "$1" '"sticker": "'"$2"'"' "${URL}/sendSticker" }