S
S
sleep2-night2021-01-25 19:35:47
Node.js
sleep2-night, 2021-01-25 19:35:47

How to stop the bot from listening to messages?

Good afternoon. There is a bot that should store certain values ​​in a variable when receiving messages. I use bot.on('message'... Then, when using some command, it gives an error: [polling_error] {}. Is it possible to somehow stop listening or not? Or should I use it differently

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question