extended response message and updated library
This commit is contained in:
parent
31d089fb6c
commit
b9c0d09fde
|
@ -1 +1 @@
|
||||||
Subproject commit d518708e969dbda11dcffb69c81816960c8f64c4
|
Subproject commit d0f9ebf71c143ad7276be54d85d644f614e6d391
|
5
bot.sh
5
bot.sh
|
@ -27,12 +27,13 @@ while [ "${1}" == "start" ]; do
|
||||||
[ "${curmsg[user_id]}" == "${i}" ] && {
|
[ "${curmsg[user_id]}" == "${i}" ] && {
|
||||||
[ "${curmsg[callback]}" == "recheck" ] || [ "${curmsg[text]}" == "/start" ]
|
[ "${curmsg[callback]}" == "recheck" ] || [ "${curmsg[text]}" == "/start" ]
|
||||||
} && {
|
} && {
|
||||||
sendmsg "${curmsg[chat_id]}" $(./getip.sh "${bot_tmpdir}")
|
__ip=$(./getip.sh "${bot_tmpdir}")
|
||||||
|
sendmsg "${curmsg[chat_id]}" "${__ip}%0Asyncplay: port 60000%0Acstrike: port 64000"
|
||||||
unset curmsg
|
unset curmsg
|
||||||
declare -A curmsg
|
declare -A curmsg
|
||||||
getmsg_content curmsg sentmsgs.txt
|
getmsg_content curmsg sentmsgs.txt
|
||||||
tput setaf 3; view_content curmsg; tput sgr0
|
tput setaf 3; view_content curmsg; tput sgr0
|
||||||
}
|
}
|
||||||
done
|
done
|
||||||
unset curmsg
|
unset curmsg __ip
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in New Issue