mirror of
https://github.com/zhenxun-org/zhenxun_bot.git
synced 2026-10-18 02:30:08 +08:00
数据库中所有user_qq改名以及user_id和group_id改为字符串
This commit is contained in:
@@ -37,7 +37,7 @@ show_pix = on_command("查看pix图库", priority=1, block=True)
|
||||
|
||||
@my_keyword.handle()
|
||||
async def _(event: MessageEvent):
|
||||
data = await PixivKeywordUser.filter(user_qq=event.user_id).values_list(
|
||||
data = await PixivKeywordUser.filter(user_id=str(event.user_id)).values_list(
|
||||
"keyword", flat=True
|
||||
)
|
||||
if not data:
|
||||
|
||||
Reference in New Issue
Block a user