Skip to content
This repository was archived by the owner on Jan 23, 2020. It is now read-only.

Latest commit

 

History

History
44 lines (36 loc) · 847 Bytes

README.md

File metadata and controls

44 lines (36 loc) · 847 Bytes

RemindMe_TelegramBot

A simple reminder telegram bot made with node-telegram-bot-api

THIS PROJECT IS CLOSED AND WAS DONE ONLY FOR LEARNING PURPOSES

Building and running

  • Make sure you that you have created config directory one level upper where such files are stored

    • bot_token.json
      {
          "token": "YOUR_TOKEN"
      }
    • notes.json
      [{
         "text": "Hello",
         "date": "2019-07-09T14:07:14.943Z",
         "time": {
          "h": 16,
         "m": 10
         },
          "user_id": 123456789
      }]
      Or an emply array
      []
    • users.json
      []
      Can be empty to
  • npm install

  • npm run

    • alternative - node bot.js
README in work