diff --git a/davtelepot/__init__.py b/davtelepot/__init__.py index c9120ad..d9692a0 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.20" +__version__ = "2.1.21" __maintainer__ = "Davide Testa" __contact__ = "t.me/davte" diff --git a/davtelepot/authorization.py b/davtelepot/authorization.py index b21c1a0..281f73d 100644 --- a/davtelepot/authorization.py +++ b/davtelepot/authorization.py @@ -320,7 +320,7 @@ async def _authorization_command(bot, update, user_record): ) if not text: if 'reply_to_message' not in update: - result = bot.get_message( + return bot.get_message( 'authorization', 'auth_command', 'instructions', update=update, user_record=user_record )