mirror of
https://github.com/zhenxun-org/zhenxun_bot.git
synced 2026-10-03 10:40:02 +08:00
🚧 Update the data types of the user_qq and group_id fields to str
This commit is contained in:
@@ -33,7 +33,7 @@ my_props = on_command("我的道具", priority=5, block=True, permission=GROUP)
|
||||
|
||||
@my_props.handle()
|
||||
async def _(event: GroupMessageEvent):
|
||||
props = await BagUser.get_property(event.user_id, event.group_id)
|
||||
props = await BagUser.get_property(str(event.user_id), str(event.group_id))
|
||||
if props:
|
||||
await my_props.send(image(b64=await create_bag_image(props)))
|
||||
logger.info(f"查看我的道具", "我的道具", event.user_id, event.group_id)
|
||||
|
||||
Reference in New Issue
Block a user