mirror of
https://github.com/zhenxun-org/zhenxun_bot.git
synced 2026-09-29 00:32:06 +08:00
🚧 Update the data types of the user_qq and group_id fields to str
This commit is contained in:
+1
-1
@@ -32,7 +32,7 @@ async def init_rank(
|
||||
all_user_id.remove(max_user_id)
|
||||
all_user_data.remove(_max)
|
||||
if user := await GroupInfoUser.get_or_none(
|
||||
user_qq=max_user_id, group_id=group_id
|
||||
user_qq=str(max_user_id), group_id=str(group_id)
|
||||
):
|
||||
user_name = user.user_name
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user