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

This commit is contained in:
yajiwa
2023-04-14 12:48:00 +08:00
parent 04c516f783
commit 0eeb55a0ca
11 changed files with 22 additions and 22 deletions
+1 -1
View File
@@ -104,7 +104,7 @@ async def _(
):
(msg,) = reg_group
await FriendUser.set_user_nickname(event.user_id, msg)
await GroupInfoUser.filter(user_qq=event.user_id).update(nickname=msg)
await GroupInfoUser.filter(user_qq=str(event.user_id)).update(nickname=msg)
logger.info(f"设置全局昵称成功: {msg}", "设置全局昵称", event.user_id)
await global_nickname.send(f"设置全局昵称成功!亲爱的{msg}")