Comparing version 2.0.1 to 2.0.2
@@ -63,4 +63,8 @@ module.exports = { | ||
text: (message) => { | ||
var result = {text: message.text} | ||
console.log(message.entities) | ||
const result = { | ||
text: message.text | ||
} | ||
if (message.entities) { | ||
return result | ||
} | ||
message.entities.reverse().forEach((entity) => { | ||
@@ -67,0 +71,0 @@ switch (entity.type) { |
{ | ||
"name": "telegraf", | ||
"version": "2.0.1", | ||
"version": "2.0.2", | ||
"description": "📢 Modern Telegram bot framework", | ||
@@ -5,0 +5,0 @@ "main": "lib/telegraf.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
69107
1332