Skip to content

Feature: 存储send(prompt)返回值 #3096

@eya46

Description

@eya46

希望能解决的问题

野生的prompt发出后不好管理

希望能够获取到返回值

nonebot/internal/matcher/matcher.py

if prompt is not None:
    await cls.send(prompt, **kwargs) 

描述所需要的功能

使用state或者其它方式保存,提供获取途径

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions