🚧 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
@@ -212,7 +212,7 @@ async def _(bot: Bot, event: GroupDecreaseNoticeEvent):
user_name = user.user_name
else:
user_name = f"{event.user_id}"
await GroupInfoUser.filter(user_qq=str(event.user_id), group_id=str(event.group_id)).delete()
await GroupInfoUser.filter(user_id=str(event.user_id), group_id=str(event.group_id)).delete()
logger.info(
f"名称: {user_name} 退出群聊",
"group_decrease_handle",