D
D
da_da_ya_neudachnik2022-03-14 09:05:43
In contact with
da_da_ya_neudachnik, 2022-03-14 09:05:43

Why is the bot ignoring?

vk.updates.on('chat_kick_user', async (context) => {
context.send('Hello')
console.log(context)
})

Why doesn't this code work? I leave the conversation from the second account, but the bot does not write anything.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
defriz, 2022-03-14
@defriz

vk.updates.on(['chat_kick_user'], async (context) => {
    context.send('Привет');
    console.log(context);
});

also check if the bot has an admin in the conversation

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question