🔀 Merge pull request #282

Bug: typo in built-in plugin
This commit is contained in:
Ju4tCode 2021-03-11 14:57:09 +08:00 committed by GitHub
commit 782232fb1a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -17,7 +17,7 @@ async def _(matcher: Matcher, bot: Bot, event: Event, state: T_State):
current_event_id = id(event)
event_id = _running_matcher.get(session_id, None)
if event_id and event_id != current_event_id:
raise IgnoredException("Annother matcher running")
raise IgnoredException("Another matcher running")
_running_matcher[session_id] = current_event_id