mirror of
https://github.com/danog/telegram-bot-bash.git
synced 2024-11-26 20:15:02 +01:00
Let script read urls
This commit is contained in:
parent
d3c59da613
commit
2036217f74
@ -155,7 +155,7 @@ startproc() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
inproc() {
|
inproc() {
|
||||||
tmux send-keys -t $copname "$MESSAGE
|
tmux send-keys -t $copname "$MESSAGE ${URLS[*]}
|
||||||
"
|
"
|
||||||
ps aux | grep -v grep | grep -q "$copid" || { rm -r $copname; };
|
ps aux | grep -v grep | grep -q "$copid" || { rm -r $copname; };
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user