T
T
TheBeJIIHiu2021-11-18 06:41:54
In contact with
TheBeJIIHiu, 2021-11-18 06:41:54

How to make the VK bot wait for a message from the user and write it to a variable in node.js?

Good afternoon, I am making a VK bot on Node.JS VK-IO library latest version, how to do when the user enters a command / number, the bot sends the message "Enter number" and the bot must wait for a message from the user (number), write it to a variable, and then display information from a text file with this number.
How to make the bot wait for a new message from the user?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
DeFaNJI, 2021-11-18
@TheBeJIIHiu

VK-IO-Questions
https://github.com/fakemancat/vk-io-question

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question