🚧 Update the data types of the user_qq and group_id fields to str

This commit is contained in:
yajiwa
2023-04-14 15:47:53 +08:00
parent 0eeb55a0ca
commit c577aa1318
21 changed files with 39 additions and 39 deletions
+1 -1
View File
@@ -32,7 +32,7 @@ async def _(event: GroupMessageEvent):
async def get_member_info(user_qq: int, group_id: int) -> str:
if user := await GroupInfoUser.get_or_none(user_qq=user_qq, group_id=group_id):
if user := await GroupInfoUser.get_or_none(user_id=str(user_qq), group_id=str(group_id)):
result = ""
result += "昵称:" + user.user_name + "\n"
result += "加群时间:" + str(user.user_join_time.date())