diff --git a/nonebot_plugin_wordle/__init__.py b/nonebot_plugin_wordle/__init__.py index 25d01e7..31457e8 100644 --- a/nonebot_plugin_wordle/__init__.py +++ b/nonebot_plugin_wordle/__init__.py @@ -168,7 +168,7 @@ async def _( games[user_id] = game set_timeout(matcher, user_id) matcher_word = on_regex( - rf"^(?P[a-zA-Z]{{{length.result}}})$", + rf"^(?P[a-zA-Z]{{{length.result}}})\s*$", rule=same_user(user_id), block=True, priority=14,