Answer the question
In order to leave comments, you need to log in
Unexpected token in?
return vk.api.call('messages.send', {
for(i in acc.users){
peer_id: acc.users[i].id,
random_id: `${rand}`,
message: ` Новый заказ!
От @id${user} (${message.$match[1]}) - Скин
⚠ Для ответа используйте - https://vk.com/gim179859706?sel=${user}`)
message.send(`❤ Ваш заказ на никнейм ${message.$match[1]} успешно оформлен! Наш менеджер свяжется с вами!`);
}
}
});
Answer the question
In order to leave comments, you need to log in
message.send(`❤ Ваш заказ на никнейм ${message.$match[1]} успешно оформлен! Наш менеджер свяжется с вами!`);
for(i in acc.users){
vk.api.call('messages.send', {
peer_id: acc.users[i].id,
random_id: `${rand}`,
message: (` Новый заказ!
От @id${user} (${message.$match[1]}) - Скин
⚠ Для ответа используйте - https://vk.com/gim179859706?sel=${user}`)
})
}
for(let i in acc.users)
Or maybe your browser doesn't know anything about the in operator . Update or transpile the code.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question