✏️ small fixs

This commit is contained in:
2024-10-29 23:13:26 +08:00
parent 3f7a9bf8a3
commit d6b8d3b44e
5 changed files with 15 additions and 12 deletions
+2
View File
@@ -30,10 +30,12 @@ add_sub_matcher = on_command(
add_sub_matcher.handle()(set_target_user_info)
do_add_sub(add_sub_matcher)
query_sub_matcher = on_command("查询订阅", rule=configurable_to_me, priority=5, block=True)
query_sub_matcher.handle()(set_target_user_info)
do_query_sub(query_sub_matcher)
del_sub_matcher = on_command(
"删除订阅",
rule=configurable_to_me,
+1 -1
View File
@@ -70,7 +70,7 @@ def admin_permission():
async def generate_sub_list_text(
matcher: type[Matcher],
state: T_State,
user_info: PlatformTarget = None,
user_info: PlatformTarget | None = None,
is_index=False,
is_show_cookie=False,
is_hide_no_cookie_platfrom=False,