Answer the question
In order to leave comments, you need to log in
I use vk-io, adding setHearFallbackHandler to an unknown command, the bot responds with an infinite number of messages, how to fix it?
Adding:
updates.setHearFallbackHandler(async (context, next) => {
await context.send('No such command :(');
});
Result:
No such command :('
No such command :(' No
such command : ('
There is no such command :('
There is no such command :('
...
There is no such command :('
How can I make the answer only once?
Preferably with a simple example, thanks...
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