Return instructions if /auth is called without arguments

This commit is contained in:
Davte 2019-07-20 13:57:02 +02:00
parent ec8a882eba
commit 00bd5b24cd
2 changed files with 2 additions and 2 deletions

View File

@ -14,7 +14,7 @@ __author__ = "Davide Testa"
__email__ = "davide@davte.it" __email__ = "davide@davte.it"
__credits__ = ["Marco Origlia", "Nick Lee @Nickoala"] __credits__ = ["Marco Origlia", "Nick Lee @Nickoala"]
__license__ = "GNU General Public License v3.0" __license__ = "GNU General Public License v3.0"
__version__ = "2.1.20" __version__ = "2.1.21"
__maintainer__ = "Davide Testa" __maintainer__ = "Davide Testa"
__contact__ = "t.me/davte" __contact__ = "t.me/davte"

View File

@ -320,7 +320,7 @@ async def _authorization_command(bot, update, user_record):
) )
if not text: if not text:
if 'reply_to_message' not in update: if 'reply_to_message' not in update:
result = bot.get_message( return bot.get_message(
'authorization', 'auth_command', 'instructions', 'authorization', 'auth_command', 'instructions',
update=update, user_record=user_record update=update, user_record=user_record
) )