Comparing version 0.4.2 to 0.4.3
@@ -153,3 +153,3 @@ var debug = require('debug')('telegraf:core') | ||
eventTypes: ['text'], | ||
middleware: function * () { | ||
middleware: function * (next) { | ||
var result = regex.exec(this.message.text) | ||
@@ -162,2 +162,3 @@ if (result) { | ||
} | ||
yield next | ||
} | ||
@@ -164,0 +165,0 @@ }) |
{ | ||
"name": "telegraf", | ||
"version": "0.4.2", | ||
"version": "0.4.3", | ||
"description": "Telegram bot framework", | ||
@@ -5,0 +5,0 @@ "main": "lib/app.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
35350
451