Product
Introducing License Enforcement in Socket
Ensure open-source compliance with Socket’s License Enforcement Beta. Set up your License Policy and secure your software!
Framefork for creating Bots in social network VK.com
const botota = require('botota')
const bot = new botota.Bot({
token: "afbd70140d0b9cf4fa8ddbsbdf219k3b7073cc90cc89752baaa6aad5as0fa333se91c30b8an1k75ds7d2d", //example token
v: '5.80', //version API, STRING type!
})
bot.on( (msg) => {
msg.reply({
text: 'Hello World!'
})
})
bot.command('tick', (msg) => {
msg.reply({
text: 'tack'
})
})
bot.event('group_join', (event) => {
event.reply({
text: 'Thank for subscribe!'
})
}
.api(method_name, params)
...
(async() =>{
const messages = await bot.api('messages.getById', {
message_ids: [1,2,3,4,5]
})
})()
.execute(method_name, params)
...
(async() => {
const chat = await bot.execute('messages.getChat', {
chat_id: 42
})
})()
.event(event_name, callback)
Callback any Callback API event
.on(callback)
Callback any incoming message
.use(callback)
Callback any new message
.command(command, callback)
Callback any incoming message which starts with command
.mention(callback)
Callback any incoming message where the group is mentioned
.chat(callback)
Callback any incoming message from chats
.user(callback)
Callback any incoming message from users
FAQs
Module for developing VK.com bots
The npm package botota receives a total of 1 weekly downloads. As such, botota popularity was classified as not popular.
We found that botota demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Ensure open-source compliance with Socket’s License Enforcement Beta. Set up your License Policy and secure your software!
Product
We're launching a new set of license analysis and compliance features for analyzing, managing, and complying with licenses across a range of supported languages and ecosystems.
Product
We're excited to introduce Socket Optimize, a powerful CLI command to secure open source dependencies with tested, optimized package overrides.