telebot
telebot copied to clipboard
Listening ONCE to an event
Is there something like a once method like the one implemented by the node.js EventEmitter class?
bot.once("text", (msg) => {
...
});
You can try that by implemeting that in your code. Just use the example you send and see if the bot reacts to a second message