📝 Prompt user information at startup

📝 启动时提示用户信息
This commit is contained in:
Xtao_dada 2021-05-22 09:20:35 +08:00 committed by GitHub
parent 42c399ac8b
commit 165dd661a6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -136,7 +136,7 @@ async def save_id():
sentry_sdk.set_user({"id": me.id, "name": me.first_name, "username": me.username, "ip_address": "{{auto}}"})
else:
sentry_sdk.set_user({"id": me.id, "name": me.first_name, "ip_address": "{{auto}}"})
logs.info(lang('save_id'))
logs.info(f"{lang('save_id')} {me.first_name}({me.id})")
with bot: