mirror of
https://github.com/nonebot/nonebot2.git
synced 2024-12-01 01:25:07 +08:00
Add a todo
This commit is contained in:
parent
310442ff0d
commit
f5e6641d3f
@ -8,6 +8,7 @@ from .log import logger
|
|||||||
|
|
||||||
|
|
||||||
async def handle_message(bot: CQHttp, ctx: Dict[str, Any]) -> None:
|
async def handle_message(bot: CQHttp, ctx: Dict[str, Any]) -> None:
|
||||||
|
# TODO: 支持让插件自己选择是否响应没有 at 的消息
|
||||||
if ctx['message_type'] != 'private':
|
if ctx['message_type'] != 'private':
|
||||||
# group or discuss
|
# group or discuss
|
||||||
first_message_seg = ctx['message'][0]
|
first_message_seg = ctx['message'][0]
|
||||||
|
Loading…
Reference in New Issue
Block a user