Skip to content

Latest commit

 

History

History
25 lines (19 loc) · 712 Bytes

README.md

File metadata and controls

25 lines (19 loc) · 712 Bytes

restaurant-bot

Telegram bot for restaurant.

Platform: Node.js

Thanks to: node-telegram-bot-api

How to use the bot

  • Clone/Download/Fork the repository
  • npm install
  • Create a Bot Account
  • Remove part "-example" in config-example.js
  • Edit config.js
    • Set YOUR_TELEGRAM_BOT_TOKEN with the auth token of your bot
    • Set MONGODB_URL with your MongoDB url
  • Run the bot
    • npm run start
    • Stop it at any time with CTRL+C

How to use test-data for DB

  • If you want to test functions of bot, you can use test data
  • npm run test