mirror of
https://github.com/nonebot/nonebot2.git
synced 2025-07-27 16:21:28 +00:00
🐛 fix arg message store
This commit is contained in:
@ -17,8 +17,6 @@ from nonebot.typing import (
|
||||
T_PermissionChecker,
|
||||
)
|
||||
from nonebot.rule import (
|
||||
PREFIX_KEY,
|
||||
RAW_CMD_KEY,
|
||||
Rule,
|
||||
ArgumentParser,
|
||||
regex,
|
||||
@ -395,7 +393,9 @@ def on_command(
|
||||
"""
|
||||
|
||||
commands = set([cmd]) | (aliases or set())
|
||||
return on_message(command(*commands) & rule, **kwargs, _depth=_depth + 1)
|
||||
return on_message(
|
||||
command(*commands) & rule, block=False, **kwargs, _depth=_depth + 1
|
||||
)
|
||||
|
||||
|
||||
def on_shell_command(
|
||||
|
Reference in New Issue
Block a user