F
F
fallenangellssv12019-10-19 11:22:52
API
fallenangellssv1, 2019-10-19 11:22:52

How to join a VK group using the NODE command?

if (body[0] == "!group") {
vk.api.call('groups.join', {
group_id: body[1]
}
In general, I made a parameter, but it doesn't work
}
^
SyntaxError: missing ) after argument list

Answer the question

In order to leave comments, you need to log in

1 answer(s)
F
fallenangellssv1, 2019-10-19
@fallenangellssv1

also if I do it through
if (body[0] == "!group") {
vk.api.call('groups.join', {
group_id: body[1]
});
}
if (body[0] == "!group") {
^
ReferenceError: body is not defined

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question