Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
eya46 opened this issue Oct 31, 2024 · 0 comments
Open

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

eya46 opened this issue Oct 31, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@eya46
Copy link
Contributor

eya46 commented Oct 31, 2024

希望能解决的问题

野生的prompt发出后不好管理

希望能够获取到返回值

nonebot/internal/matcher/matcher.py

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

描述所需要的功能

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

@eya46 eya46 added the enhancement New feature or request label Oct 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

No branches or pull requests

1 participant