This line takes a 5th argument, skipping $3, which makes a script using start_proc to skip its first argument. I just started using this bot and I was breaking my head because I tried to run a script, which took the chat id as an argument, like this:
https://github.com/topkecleon/telegram-bot-bash/blob/4591b357d140334c1b6235b65bbc9c7fd701be93/modules/background.sh#L72
This line takes a 5th argument, skipping $3, which makes a script using start_proc to skip its first argument. I just started using this bot and I was breaking my head because I tried to run a script, which took the chat id as an argument, like this:
But had to do this: