M
M
MrZillaGold2019-03-20 15:45:42
JavaScript
MrZillaGold, 2019-03-20 15:45:42

When sending any message other than those that are in the commands, send a response?

How to make it so that when sending any message except those that are in the commands
Example:

vk.updates.hear(/^(?:Меню)$/i, async (context) => {
, sent a reply?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Stockholm Syndrome, 2019-03-20
@MrZillaGold

vk.updates.hear(/(.*)/, async (context) => {

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question