T
T
theITmonster2020-01-03 20:45:31
In contact with
theITmonster, 2020-01-03 20:45:31

How to create a VK bot command with an undefined variable?

How do I define a user variable if it is a command? The code:

vk.hear.updates(`${user.first_name} ${user.last_name}`, async msg => {
    msg.send(`Это вы.`)
     })

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question