🔥 删除不需要的函数调用

This commit is contained in:
2024-08-06 15:28:26 +08:00
parent cd9d29b748
commit ee53b92559

View File

@@ -1,4 +1,3 @@
from asyncio import gather
from hashlib import md5
from urllib.parse import urlencode
@@ -52,7 +51,7 @@ async def _(nb_user: User, account: Player, event_session: EventSession, bot_inf
command_type='bind',
command_args=[],
):
user, user_info = await gather(account.user, account.get_info())
user = await account.user
async with get_session() as session:
bind_status = await create_or_update_bind(
session=session,