diff --git a/bashbot.rc b/bashbot.rc index 95648ff..c293a15 100755 --- a/bashbot.rc +++ b/bashbot.rc @@ -5,7 +5,7 @@ # # tested on: ubuntu, opensuse, debian # -#### $$VERSION$$ v1.25-dev-51-gb2eecc5 +#### $$VERSION$$ v1.30-dev-28-gd269f98 # shellcheck disable=SC2009 # shellcheck disable=SC2181 @@ -60,7 +60,7 @@ case "$1" in 'status') ps -f -u "${runas}" | grep "${name}" | grep -qF "bashbot.sh startbot" if [ "$?" = "0" ]; then - printf "bashbot (%s) is runningi\n" "${name}" + printf "bashbot (%s) is running\n" "${name}" RETVAL=0 else printf "bashbot (%s) is stopped\n" "${name}" diff --git a/modules/chatMember.sh b/modules/chatMember.sh index 7999a98..fdd983b 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.30-dev-13-g29fa5cf +#### $$VERSION$$ v1.30-dev-28-gd269f98 # will be automatically sourced from bashbot @@ -74,7 +74,7 @@ leave_chat() { # usage: status="$(get_chat_member_status "chat" "user")" # $1 chat # $2 user get_chat_member_status() { - sendJson "$1" '"user_id":'"$2"'' "${URL}/kickChatMember" + sendJson "$1" '"user_id":'"$2"'' "${URL}/getChatMember" # shellcheck disable=SC2154 JsonGetString '"result","status"' <<< "${res}" }