You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 7, 2025. It is now read-only.
As the title say, Im kinda new to this telebot library, but well, I made a command to shut down the bot, and it works, but, when I restart the bot, it starts getting the messages it didn't recorded while it was off, the last message was the shutdown command, so it goes to a loop of shutting down. So I want to know how to make the bot only get updates of the messages when is on, and not the messages that it got when the script was off. Help because I don't know how to fix this
As the title say, Im kinda new to this telebot library, but well, I made a command to shut down the bot, and it works, but, when I restart the bot, it starts getting the messages it didn't recorded while it was off, the last message was the shutdown command, so it goes to a loop of shutting down. So I want to know how to make the bot only get updates of the messages when is on, and not the messages that it got when the script was off. Help because I don't know how to fix this