This script will join a Telegram chat and answer based on it's database (regex lookup) It's quick & dirty but works.
- NodeJS
- TeleBot (npm install TeleBot)
node ibot.js to run it you need a token, tell /newbot to BotFather on telegram and disable privacy (send /setprivacy to BotFather)
- 20180811: Ignore old message on startup, can make webpage screenshot
- 20180711: Initial version
- use webhook instead of pulling new messages
- allow db edition
- fetch db in memory