Return instructions if /auth is called without arguments
This commit is contained in:
parent
ec8a882eba
commit
00bd5b24cd
@ -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"
|
||||
|
||||
|
@ -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
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user