mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-10 05:59:25 +08:00
Update tgclient.py
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user