Skip to content

Commit eedc835

Browse files
committed
no fix: regex rule
1 parent a5dbbfb commit eedc835

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

nonebot_plugin_crazy_thursday/__init__.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
[疯狂星期X] 随机输出KFC疯狂星期四文案
1717
[狂乱X曜日] 随机输出KFC疯狂星期四文案""".strip()
1818

19-
crazy = on_regex(pattern=r"^疯狂星期\S$", priority=15)
20-
crazy_jp = on_regex(pattern=r"^狂乱\S曜日$", priority=15)
19+
crazy = on_regex(pattern=r"疯狂星期\S", priority=15)
20+
crazy_jp = on_regex(pattern=r"狂乱\S曜日", priority=15)
2121

2222
def get_weekday_cn(arg: str = RegexMatched(), state: T_State = State()):
2323
weekday = arg[-1].replace("天", "日")

0 commit comments

Comments
 (0)