diff --git a/davtelepot/__init__.py b/davtelepot/__init__.py index 8eae2d4..ce2a9bd 100644 --- a/davtelepot/__init__.py +++ b/davtelepot/__init__.py @@ -14,7 +14,7 @@ __author__ = "Davide Testa" __email__ = "davide@davte.it" __credits__ = ["Marco Origlia", "Nick Lee @Nickoala"] __license__ = "GNU General Public License v3.0" -__version__ = "2.1.22" +__version__ = "2.1.23" __maintainer__ = "Davide Testa" __contact__ = "t.me/davte" diff --git a/davtelepot/bot.py b/davtelepot/bot.py index 43988d9..ea4a9c6 100644 --- a/davtelepot/bot.py +++ b/davtelepot/bot.py @@ -1662,7 +1662,7 @@ class Bot(TelegramBot, ObjectWithDatabase, MultiLanguageObject): if isinstance(identifier, dict) and 'from' in identifier: identifier = identifier['from']['id'] assert type(identifier) is int, ( - "Unable to find a user identifier." + f"Unable to find a user identifier. Got `{identifier}`" ) return identifier