Forgot to build - 0.4.6

This commit is contained in:
Mahdi Dibaiee 2015-07-04 20:23:37 +04:30
parent 06bcc25801
commit bfa2313f3a
3 changed files with 3 additions and 2 deletions

View File

@ -192,6 +192,7 @@ var Bot = (function (_EventEmitter) {
// Commands are sent in /command@thisusername format in groups
var regex = new RegExp('@' + _this2.info.username + '$');
text = text.replace(regex, '');
res.message.text = text;
}
var ev = _this2._userEvents.find(function (_ref) {

View File

@ -5,7 +5,7 @@ var Message = require('telegram-api/types/Message');
var Question = require('telegram-api/types/Question');
var bot = new Bot({
token: 'YOUR_KEY'
token: '114687409:AAEVpfOmGI7xNKiKzVA9LBcOO9INpIwnvDI'
});
bot.start().catch(err => {

View File

@ -1,6 +1,6 @@
{
"name": "telegram-api",
"version": "0.4.5",
"version": "0.4.6",
"description": "Control Telegram bots easily using the new Telegram API",
"main": "index.js",
"scripts": {