mirror of
https://github.com/octoleo/telegram-bot-bash.git
synced 2024-12-29 13:12:36 +00:00
Remove escaping of slashes
This commit is contained in:
parent
b5c576633d
commit
a566efc476
@ -318,7 +318,7 @@ process_updates() {
|
||||
}
|
||||
process_client() {
|
||||
# Message
|
||||
MESSAGE[0]=$(echo -e $(echo "$UPDATE" | egrep '\["result",'$PROCESS_NUMBER',"message","text"\]' | cut -f 2 | cut -d '"' -f 2))
|
||||
MESSAGE[0]=$(echo -e $(echo "$UPDATE" | egrep '\["result",'$PROCESS_NUMBER',"message","text"\]' | cut -f 2 | cut -d '"' -f 2) | sed 's#\\/#/#g')
|
||||
MESSAGE[ID]=$(echo "$UPDATE" | egrep '\["result",'$PROCESS_NUMBER',"message","message_id"\]' | cut -f 2 | cut -d '"' -f 2)
|
||||
|
||||
# Chat
|
||||
|
Loading…
Reference in New Issue
Block a user