node-vk-bot-api
Advanced tools
Comparing version 3.1.0 to 3.1.1
const toArray = require('../utils/toArray'); | ||
module.exports = function (userId, ...args) { | ||
const [message, attachment, keyboard, sticker] = args; | ||
const [message, attachment, keyboard, sticker, randomId] = args; | ||
@@ -23,2 +23,3 @@ if (Array.isArray(userId) && userId.length > 100) { | ||
keyboard: keyboard ? keyboard.toJSON() : undefined, | ||
random_id: randomId || Date.now(), | ||
}, | ||
@@ -25,0 +26,0 @@ ), |
{ | ||
"name": "node-vk-bot-api", | ||
"version": "3.1.0", | ||
"version": "3.1.1", | ||
"description": "🤖 VK bot framework for Node.js, based on Bots Long Poll API and Callback API", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.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
40154
1005