Commit 2609e564af2469510f907a7d8783aed9e6a28613

Authored by Adhidarma Hadiwinoto
1 parent e4a7454b9a
Exists in master

winston

Showing 2 changed files with 7 additions and 1 deletions Side-by-side Diff

1 1 "use strict";
2 2  
3 3 const config = require('./lib/config.js');
  4 +const TelegramBotApi = require("node-telegram-bot-api");
  5 +const bot = new TelegramBotApi(token, {polling: true});
  6 +const logger = require('winston');
  7 +
  8 +const chat_ids = {};
... ... @@ -19,6 +19,7 @@
19 19 "author": "Adhidarma Hadiwinoto <me@adhisimon.org>",
20 20 "license": "ISC",
21 21 "dependencies": {
22   - "node-telegram-bot-api": "^0.27.0"
  22 + "node-telegram-bot-api": "^0.27.0",
  23 + "winston": "^2.3.1"
23 24 }
24 25 }