diff --git a/run-telegram.sh b/run-telegram.sh new file mode 100755 index 0000000..26034e1 --- /dev/null +++ b/run-telegram.sh @@ -0,0 +1,5 @@ +while true; +do + socat TCP-LISTEN:12345,bind=127.0.0.1,fork - | ./main + sleep 5; +done diff --git a/tg.sh b/tg.sh new file mode 100755 index 0000000..d317f17 --- /dev/null +++ b/tg.sh @@ -0,0 +1 @@ +telegram-cli -W -s action.lua