2
0
mirror of https://github.com/yagop/node-telegram-bot-api synced 2025-08-31 22:35:38 +00:00
This commit is contained in:
Yago
2015-09-27 11:18:25 +02:00
parent 48045b98ff
commit 6a679b5644
7 changed files with 46 additions and 14 deletions

View File

@@ -1,7 +1,8 @@
'use strict';
var debug = require('debug')('node-telegram-bot-api');
var https = require('https');
var http = require('http');
var util = require('util');
var fs = require('fs');
var TelegramBotWebHook = function (token, options, callback) {
@@ -26,7 +27,7 @@ var TelegramBotWebHook = function (token, options, callback) {
}
this._webServer.listen(options.port, options.host, function () {
debug("WebHook listening on port %s", options.port);
debug('WebHook listening on port %s', options.port);
});
};