topkecleon / telegram-bot-bash

Telegram bot written in bash
Other
426 stars 123 forks source link

Ineractive scripts not working as expected #159

Closed RandomUsN closed 3 years ago

RandomUsN commented 3 years ago

Interactive scripts are not working again for latest version 1.1. Please check. Debian 10 GNU bash, version 5.0.3(1)-release (x86_64-pc-linux-gnu) Used scripts/interactive.sh and examples/question.sh

gnadelwartz commented 3 years ago

related to #158 , will check when issue is resolved

RandomUsN commented 3 years ago

#158 it was fixed, but it did not help fix the problem with interactive scripts.

gnadelwartz commented 3 years ago

I'll investigate

gnadelwartz commented 3 years ago

I hvae the strange effect that even in a private chat and privacy disbaled the updates sent by telegram only contains commands, but not regular text not starting with /.

May be telgram changed the behavoir, so interactive scripts will not work anymore. I'll investigate more on it

gnadelwartz commented 3 years ago

OK found the problem, a workaround for a special use case was the problem ...

gnadelwartz commented 3 years ago

fixed https://github.com/topkecleon/telegram-bot-bash/pull/161/commits/975d0147f4412d45b9d34901786b44e80215d397