mirror of
https://github.com/zhenxun-org/zhenxun_bot.git
synced 2026-09-29 08:39:59 +08:00
🚧 Update the data types of the user_qq and group_id fields to str
This commit is contained in:
@@ -17,7 +17,7 @@ admin_notice = on_notice(priority=5)
|
||||
@admin_notice.handle()
|
||||
async def _(event: GroupAdminNoticeEvent):
|
||||
if user := await GroupInfoUser.filter(
|
||||
user_qq=event.user_id, group_id=event.group_id
|
||||
user_qq=str(event.user_id), group_id=str(event.group_id)
|
||||
).first():
|
||||
nickname = user.nickname
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user