node-vk-bot-api
Advanced tools
Comparing version 2.4.7 to 2.4.8
@@ -13,3 +13,2 @@ const methods = require('./methods'); | ||
this.longPollParams = null; | ||
this.middlewares = []; | ||
@@ -29,13 +28,5 @@ this.methods = []; | ||
this.methods = []; | ||
}, settings.execute_timeout || 50); | ||
}, settings.execute_timeout); | ||
} | ||
use(middleware) { | ||
this.use(middleware); | ||
} | ||
command(triggers, ...middlewares) { | ||
this.command(triggers, ...middlewares); | ||
} | ||
event(triggers, ...middlewares) { | ||
@@ -48,16 +39,4 @@ this.command(triggers, ...middlewares); | ||
} | ||
next(ctx, idx) { | ||
return this.next(ctx, idx); | ||
} | ||
sendMessage(userId, ...args) { | ||
this.sendMessage(userId, ...args); | ||
} | ||
startPolling(callback) { | ||
return this.startPolling(callback); | ||
} | ||
} | ||
module.exports = VkBot; |
{ | ||
"name": "node-vk-bot-api", | ||
"version": "2.4.7", | ||
"version": "2.4.8", | ||
"description": "🤖 VK bot framework for Node.js, based on Bots Long Poll API and Callback API", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
37330
916