Update autochangename.py

This commit is contained in:
Pentacene 2021-03-21 02:09:48 +08:00 committed by GitHub
parent 684aec9a76
commit 93166c2bcf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -44,6 +44,6 @@ async def change_name_auto(context):
last_name = '%s' % cake
await bot(UpdateProfileRequest(last_name=last_name))
except KeyboardInterrupt:
await bot(UpdateProfileRequest(last_name=''))
await sleep(1)
except:
pass
await sleep(1)