🚧 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
@@ -306,7 +306,7 @@ async def update_member_info(
if user_info["role"] in [
"owner",
"admin",
] and not await LevelUser.is_group_flag(user_info["user_id"], group_id):
] and not await LevelUser.is_group_flag(user_info["user_id"], str(group_id)):
await LevelUser.set_level(
user_info["user_id"],
user_info["group_id"],