From c331313f85aa45df852f9784343b83b1e61730ff Mon Sep 17 00:00:00 2001 From: Davte Date: Wed, 17 Jul 2019 23:46:07 +0200 Subject: [PATCH] Bug in `edit_message_text` fixed: `text` instead of `text_chunk` --- davtelepot/__init__.py | 2 +- davtelepot/bot.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/davtelepot/__init__.py b/davtelepot/__init__.py index 8392b4c..d077595 100644 --- a/davtelepot/__init__.py +++ b/davtelepot/__init__.py @@ -7,7 +7,7 @@ __author__ = "Davide Testa" __email__ = "davide@davte.it" __credits__ = ["Marco Origlia", "Nick Lee @Nickoala"] __license__ = "GNU General Public License v3.0" -__version__ = "2.1.4" +__version__ = "2.1.5" __maintainer__ = "Davide Testa" __contact__ = "t.me/davte" diff --git a/davtelepot/bot.py b/davtelepot/bot.py index 8658b65..6e26778 100644 --- a/davtelepot/bot.py +++ b/davtelepot/bot.py @@ -997,7 +997,7 @@ class Bot(TelegramBot, ObjectWithDatabase): break else: await self.send_message( - text=text, + text=text_chunk, chat_id=chat_id, parse_mode=parse_mode, disable_web_page_preview=disable_web_page_preview,