mirror of
https://github.com/octoleo/telegram-bot-bash.git
synced 2025-02-11 06:28:48 +00:00
fix typos in changes
This commit is contained in:
parent
afade2e2f0
commit
5f602a9a14
@ -30,7 +30,7 @@ BOTCOMMANDS="-h help init start stop status suspendback resumeback killb
|
|||||||
# 8 - curl/wget missing
|
# 8 - curl/wget missing
|
||||||
# 10 - not bash!
|
# 10 - not bash!
|
||||||
#
|
#
|
||||||
#### $$VERSION$$ v1.30-dev-6-g87f618f
|
#### $$VERSION$$ v1.30-dev-8-gafade2e
|
||||||
##################################################################
|
##################################################################
|
||||||
|
|
||||||
# emmbeded system may claim bash but it is not
|
# emmbeded system may claim bash but it is not
|
||||||
@ -397,7 +397,7 @@ delete_message() {
|
|||||||
|
|
||||||
get_file() {
|
get_file() {
|
||||||
[ -z "$1" ] && return
|
[ -z "$1" ] && return
|
||||||
sendJson "" '"file_id": "'"$1"'"' "${URL}/getFIle"
|
sendJson "" '"file_id": "'"$1"'"' "${URL}/getFile"
|
||||||
printf '%s\n' "${URL}"/"$(JsonGetString <<< "${res}" '"result","file_path"')"
|
printf '%s\n' "${URL}"/"$(JsonGetString <<< "${res}" '"result","file_path"')"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
# Elsewhere, consider it to be WTFPLv2. (wtfpl.net/txt/copying)
|
# Elsewhere, consider it to be WTFPLv2. (wtfpl.net/txt/copying)
|
||||||
#
|
#
|
||||||
# shellcheck disable=SC1117
|
# shellcheck disable=SC1117
|
||||||
#### $$VERSION$$ v1.30-dev-7-g71daed3
|
#### $$VERSION$$ v1.30-dev-8-gafade2e
|
||||||
|
|
||||||
# will be automatically sourced from bashbot
|
# will be automatically sourced from bashbot
|
||||||
|
|
||||||
@ -150,7 +150,7 @@ send_button() {
|
|||||||
|
|
||||||
# $1 chat, $2 file_id on telegram server
|
# $1 chat, $2 file_id on telegram server
|
||||||
send_sticker() {
|
send_sticker() {
|
||||||
sendJson "$1" '"sticker": "'"$2"'"' "${URL}/setChatDescription"
|
sendJson "$1" '"sticker": "'"$2"'"' "${URL}/sendSticker"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user