1
0
forked from bot/app

orm框架新增@db.on_save回调函数,用于检测数据库更新时的变动

This commit is contained in:
2024-06-22 14:17:14 +08:00
parent 1787ef4db7
commit 4162ea33ff
3 changed files with 51 additions and 8 deletions

View File

@ -257,7 +257,6 @@ async def _(result: Arparma, bot: T_Bot, event: T_MessageEvent, matcher: Matcher
"""
api_name = result.main_args.get("api")
args: tuple[str] = result.main_args.get("args", ()) # 类似于url参数但每个参数间用空格分隔空格是%20
print(args)
args_dict = {}
for arg in args:
@ -392,8 +391,9 @@ need_group_id = (
"send_msg",
"set_group_card",
"set_group_name",
"set_group_special_title",
"get_group_member_info",
"get_group_member_list",
"get_group_honor_info"
)
)