Telegram bot for restaurant.
Platform: Node.js
Thanks to: node-telegram-bot-api
- Clone/Download/Fork the repository
npm install
- Create a Bot Account
- Get the associated token (https://core.telegram.org/bots/#botfather)
- 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
- Set
- Run the bot
npm run start
- Stop it at any time with CTRL+C
- If you want to test functions of bot, you can use test data
npm run test