Answer the question
In order to leave comments, you need to log in
VK response error: one the parameters specified was missing or invalid what is the problem with this error?
How can this error be corrected?
The code:
bot.on('spawn',() => {
easyvk({access_token: token}).then(_vk => {
vk = _vk;
return vk.call("messages.send", {
message: "Бот заспавнился",
user_id: ud,
random_id: easyvk.randomId()
});
});
if (bot.currentWindow !== null) {
easyvk({access_token:token}).then(_vk => {
vk = _vk;
return vk.call("messages.send", {
message: "Закрыто окно",
user_id: ud,
random_id: easyvk.randomId()
})
})
bot.closeWindow(bot.currentWindow)
};
if (digging == 1) {
digging = 0
easyvk({access_token: token}).then(_vk => {
vk = _vk;
return vk.call("messages.send", {
message: "Бот прекратил копать.",
user_id: ud,
random_id: easyvk.randomId()
});
});
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question