patch fe0c125aa83d95b5472c0bc599e883c9b47213f6
Author: E. Bosch <presidev@AT@gmail.com>
Date: Tue Jul 11 23:54:41 CEST 2023
* exclam: Fix indentation
hunk ./exclam.py 43
- self.tmp_tg_msg = await self.tg.telegram_client.send_message(self.tmp_telegram_id, msg, reply_to=id)
- reply = True
+ self.tmp_tg_msg = await self.tg.telegram_client.send_message(self.tmp_telegram_id, msg, reply_to=id)
+ reply = True
hunk ./exclam.py 46
- reply = ('Unknown message to reply',)
+ reply = ('Unknown message to reply',)
hunk ./exclam.py 62
- try:
- self.tmp_tg_msg = await self.tg.telegram_client.edit_message(ed_msg, new_msg)
- except MessageNotModifiedError:
- self.tmp_tg_msg = ed_msg
- reply = True
- except MessageAuthorRequiredError:
- reply = ('Not the author of the message to edit',)
- else:
- reply = True
+ try:
+ self.tmp_tg_msg = await self.tg.telegram_client.edit_message(ed_msg, new_msg)
+ except MessageNotModifiedError:
+ self.tmp_tg_msg = ed_msg
+ reply = True
+ except MessageAuthorRequiredError:
+ reply = ('Not the author of the message to edit',)
+ else:
+ reply = True
hunk ./exclam.py 72
- reply = ('Unknown message to edit',)
+ reply = ('Unknown message to edit',)