Fixed login bug
This commit is contained in:
parent
bf01c21a01
commit
962cfdbef7
@ -296,7 +296,8 @@ async def login(config: Config):
|
||||
Log into your telegram account interactively and save the login information to session file
|
||||
"""
|
||||
await config.client.start()
|
||||
click.echo(f'You are logged in as {await config.client.get_me().first_name}')
|
||||
me = await config.client.get_me()
|
||||
click.echo(f'You are logged in as {me.first_name}')
|
||||
click.echo('To switch user: either pass another session-file or remove existing')
|
||||
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user