extended response message and updated library
This commit is contained in:
parent
02f43b6665
commit
4af79b4062
|
@ -1 +1 @@
|
|||
Subproject commit 1da6cf48d392c430a5ef852c82c90984df636ada
|
||||
Subproject commit 24c05e35dcefc61b9ce96a4191b31925308ba9f6
|
5
bot.sh
5
bot.sh
|
@ -27,12 +27,13 @@ while [ "${1}" == "start" ]; do
|
|||
[ "${curmsg[user_id]}" == "${i}" ] && {
|
||||
[ "${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
|
||||
declare -A curmsg
|
||||
getmsg_content curmsg sentmsgs.txt
|
||||
tput setaf 3; view_content curmsg; tput sgr0
|
||||
}
|
||||
done
|
||||
unset curmsg
|
||||
unset curmsg __ip
|
||||
done
|
||||
|
|
Loading…
Reference in New Issue