🐛 : 修复开箱功能中的正则表达式错误

This commit is contained in:
HibiKier
2024-07-31 17:08:33 +08:00
parent 9fc0dbfc2b
commit 930ff5b09d
3 changed files with 2 additions and 24 deletions
+1 -1
View File
@@ -31,7 +31,7 @@ _multiple_matcher = on_alconna(
)
_multiple_matcher.shortcut(
r"(?P<num>\d)连开箱(?P<name>.*?)",
r"(?P<num>\d+)连开箱(?P<name>.*?)",
command="multiple-open",
arguments=["{num}", "{name}"],
prefix=True,