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] 希望能够给私聊提供独立的响应前缀 #271

Closed
EvolvedGhost opened this issue Mar 5, 2023 · 2 comments
Closed

[Feature] 希望能够给私聊提供独立的响应前缀 #271

EvolvedGhost opened this issue Mar 5, 2023 · 2 comments
Labels
enhancement New feature or request

Comments

@EvolvedGhost
Copy link
Contributor

使用情景:
我的Mirai上还有其他功能的机器人插件,这些可通过私聊触发,但同时我需要群聊环境下仅@即可触发响应,因此我的设置为

[trigger]
prefix = [ "",]
require_mention = "at"

但这样设置的话,机器人会响应所有私聊的信息,造成指令冲突浪费ChatGPT的额度:
6DF({J9HWODT_F$QV027BC9

希望功能:
给私聊提供独立的prefix使其与群聊触发规则分离

@EvolvedGhost EvolvedGhost added the enhancement New feature or request label Mar 5, 2023
@lss233
Copy link
Owner

lss233 commented Mar 5, 2023

下一版本支持

@lss233
Copy link
Owner

lss233 commented Mar 5, 2023

v2.2.0 已发布,使用方法见 README

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants