Answer the question
In order to leave comments, you need to log in
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
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 questionAsk a Question
731 491 924 answers to any question