From 4855e65b1a238725fd4a89f030015228b10a87f6 Mon Sep 17 00:00:00 2001 From: StarHeart Date: Sun, 7 Feb 2021 13:37:15 +0800 Subject: [PATCH] :memo: typo --- docs/guide/creating-a-matcher.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/guide/creating-a-matcher.md b/docs/guide/creating-a-matcher.md index ac74f6c1..83debe13 100644 --- a/docs/guide/creating-a-matcher.md +++ b/docs/guide/creating-a-matcher.md @@ -123,7 +123,7 @@ async def async_checker(bot: Bot, event: Event, state: T_State) -> bool: def sync_checker(bot: Bot, event: Event, state: T_State) -> bool: return True -def check(arg1, args2): +def check(arg1, arg2): async def _checker(bot: Bot, event: Event, state: T_State) -> bool: return bool(arg1 + arg2)