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] 能不能加入模版引擎 #1210

Open
bincooo opened this issue Sep 28, 2023 · 1 comment
Open

[Feature] 能不能加入模版引擎 #1210

bincooo opened this issue Sep 28, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@bincooo
Copy link
Contributor

bincooo commented Sep 28, 2023

希望能在预设加个模版引擎, 在不动代码的情况下做一些增强:
类似效果:

(你的主人是折戟沉沙,当前与你对话的是{{args.Nickname}}{{if args.Current ne "1263212xxx"}}但不是你的主人{{end}},回复下面对话)
{{args.Nickname}}: “{{content}}”

结果:

(你的主人是折戟沉沙,当前与你对话的是鲁迪斯但不是你的主人,回复下面对话)
鲁迪斯: “你好啊,喵小爱”
@bincooo bincooo added the enhancement New feature or request label Sep 28, 2023
@lss233
Copy link
Owner

lss233 commented Sep 28, 2023

#755

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