mirror of
https://github.com/nonebot/nonebot2.git
synced 2024-11-28 07:39:45 +08:00
📝 typo
This commit is contained in:
parent
a3fe3a1ad8
commit
4855e65b1a
@ -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:
|
def sync_checker(bot: Bot, event: Event, state: T_State) -> bool:
|
||||||
return True
|
return True
|
||||||
|
|
||||||
def check(arg1, args2):
|
def check(arg1, arg2):
|
||||||
|
|
||||||
async def _checker(bot: Bot, event: Event, state: T_State) -> bool:
|
async def _checker(bot: Bot, event: Event, state: T_State) -> bool:
|
||||||
return bool(arg1 + arg2)
|
return bool(arg1 + arg2)
|
||||||
|
Loading…
Reference in New Issue
Block a user