🐛 修复群组中插件默认状态 (#1810)

This commit is contained in:
HibiKier
2024-12-30 16:44:13 +08:00
committed by GitHub
parent 35014e4048
commit 91dce56bf8
2 changed files with 62 additions and 14 deletions
@@ -133,16 +133,16 @@ _status_matcher.shortcut(
)
_status_matcher.shortcut(
r"关闭(?P<name>.+)",
r"关闭(插件|功能)df(?P<name>.+)",
command="switch",
arguments=["close", "{name}"],
arguments=["close", "{name}", "-df"],
prefix=True,
)
_status_matcher.shortcut(
r"关闭(插件|功能)df(?P<name>.+)",
r"关闭(?P<name>.+)",
command="switch",
arguments=["close", "{name}", "-df"],
arguments=["close", "{name}"],
prefix=True,
)