Skip to content

A Telegram quiz chatbot to help you train and level-up your knowledge

Notifications You must be signed in to change notification settings

cowchimp/trainingbot

Repository files navigation

trainingbot

A Telegram quiz chatbot to help you train and level-up your knowledge

Screenshot

Getting started

Requires node >= 8.0 (or set up Babel instead)

  1. Run npm install
  2. Set these environment variables
  3. telegramToken (e.g. 123456789:AbC0dEf1GhI2jKl3M-nO4pQr5StU6vWx7Yz)
  4. mongoUrl (e.g localhost:27017/trainingbot)
  5. The bot uses MongoDB for persistence.
  6. Create a challenges collection.
  7. Add at least one challenge document according to the format in example-challenge-document.json
  8. Run npm start

Running tests

Run mocha tests with npm test

License

MIT

About

A Telegram quiz chatbot to help you train and level-up your knowledge

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published