2
0
mirror of https://github.com/yagop/node-telegram-bot-api synced 2025-08-31 14:25:57 +00:00

Emits typo

This commit is contained in:
yago
2015-08-08 12:01:52 +02:00
parent 12c6f60333
commit 7b7191b464
2 changed files with 2 additions and 2 deletions

View File

@@ -5,7 +5,7 @@ var options = {
polling: true
};
var token = 'YOUR_TELEGRAM_BOT_TOKEN';
var token = process.env.TELEGRAM_BOT_TOKEN || 'YOUR_TELEGRAM_BOT_TOKEN';
var bot = new TelegramBot(token, options);
bot.getMe().then(function (me) {