mirror of
https://github.com/zhenxun-org/zhenxun_bot.git
synced 2026-09-29 00:32:06 +08:00
char_history新增_run_script
This commit is contained in:
@@ -315,9 +315,9 @@ async def update_member_info(group_id: int, remind_superuser: bool = False) -> b
|
||||
)
|
||||
if str(user_info["user_id"]) in bot.config.superusers:
|
||||
await LevelUser.set_level(user_info["user_id"], user_info["group_id"], 9)
|
||||
user = await GroupInfoUser.filter(
|
||||
user = await GroupInfoUser.get_or_none(
|
||||
user_qq=user_info["user_id"], group_id=user_info["group_id"]
|
||||
).first()
|
||||
)
|
||||
if user:
|
||||
if user.user_name != nickname:
|
||||
user.user_name=nickname
|
||||
|
||||
Reference in New Issue
Block a user