T
T
tlopster2020-10-28 09:55:50
Node.js
tlopster, 2020-10-28 09:55:50

How to write on cmd.hear and updates.hear at the same time?

What libraries need to be imported at the beginning of the node js script so that you can write at least cmd.hear or updates.hear in one script? (Both of these methods are in the vk-io module), but what exactly needs to be taken from vk-io in order for both cmd.hear and updates.hear to work?
What do you need to require at the beginning of the code?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Miiinro, 2020-12-06
@Miiinro

const cmd = updates;

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question