Socket
Socket
Sign inDemoInstall

node-vk-bot-api

Package Overview
Dependencies
2
Maintainers
1
Versions
73
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.1.2 to 1.1.3

4

lib/methods/listen.js

@@ -108,6 +108,6 @@ const rp = require('request-promise')

ctx.reply = (message, attachment) => this.reply(ctx.user_id, message, attachment)
ctx.sendMessage = (userId, message, attachment) => this.reply(ctx.user_id, message, attachment)
ctx.sendMessage = (userId, message, attachment) => this.reply(userId, message, attachment)
const message = ctx.body.toLowerCase()
const commandKey = Object.keys(commands).filter(item => item.search(message) > -1)[0]
const commandKey = Object.keys(commands).filter(item => item.indexOf(message) > -1)[0]
const commandCallback = commands[commandKey]

@@ -114,0 +114,0 @@ const hearsKey = Object.keys(hears).filter((item) => {

{
"name": "node-vk-bot-api",
"version": "1.1.2",
"version": "1.1.3",
"description": "API for VK bots on long poll.",

@@ -5,0 +5,0 @@ "main": "index.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc