zulip / python-zulip-api

Python library for the Zulip API.
https://zulip.com/api/
Apache License 2.0
350 stars 356 forks source link

Incrementor bot is broken when the time limit for editing messages has expired #673

Closed PIG208 closed 3 years ago

PIG208 commented 3 years ago

In the production environment of Zulip, calls to update_message might not actually update the message if the bot doesn't have access to edit the message. E.g.: when the time limit is expired, or message editing is disabled, etc. The implementation for incrementor should take respect of the error message from the server and send a new message when necessary.