A Telegram quiz chatbot to help you train and level-up your knowledge
Requires node >= 8.0 (or set up Babel instead)
- Run
npm install
- Set these environment variables
telegramToken
(e.g. 123456789:AbC0dEf1GhI2jKl3M-nO4pQr5StU6vWx7Yz)mongoUrl
(e.g localhost:27017/trainingbot)- The bot uses MongoDB for persistence.
- Create a
challenges
collection. - Add at least one challenge document according to the format in
example-challenge-document.json
- Run
npm start
Run mocha tests with npm test
MIT