Answer the question
In order to leave comments, you need to log in
How to get user text?
bot.hear('!!редакт',async(context)=>{
vk.api.messages.send({
peer_id: context.peerId,
random_id: random(2,66666666),
message: 'Никнейм?',
}).then(()=>{
vk.updates.on('message_new', async (context)=>{
console.log(context);
})
})
})
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