Skip to content
This repository was archived by the owner on Feb 7, 2025. It is now read-only.
This repository was archived by the owner on Feb 7, 2025. It is now read-only.

How can I stop the bot from receiving messages when the script was off?? #223

@LyanRicci

Description

@LyanRicci

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions