Update tgclient.py

This commit is contained in:
midoks
2023-04-24 22:05:34 +08:00
parent 4bb059f62f
commit 4366c4afde
-3
View File
@@ -108,9 +108,6 @@ async def main(loop):
task = loop.create_task(change_name_auto())
await task
# Now you can use all client methods listed below, like for example...
# await client.send_message('me', 'Hello to myself!')
print('It works.')
await client.run_until_disconnected()
task.cancel()