koishi-plugin-memesluna 0.2.8 → 0.2.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/index.js +3 -1
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -535,7 +535,9 @@ var Config = import_koishi2.Schema.object({
|
|
|
535
535
|
selfUrl: import_koishi2.Schema.string().default("").description("服务公开地址,不填则优先使用 server.selfUrl"),
|
|
536
536
|
injectVariables: import_koishi2.Schema.boolean().default(true).description("是否向 ChatLuna 注入 {{endpoint}} 和 {{memesluna}} 变量"),
|
|
537
537
|
variableRefreshIntervalMs: import_koishi2.Schema.number().min(30 * 1e3).max(60 * 60 * 1e3).default(5 * 60 * 1e3).description("变量刷新间隔(毫秒)"),
|
|
538
|
-
injectVariablesPrompt: import_koishi2.Schema.string().role("textarea").default(
|
|
538
|
+
injectVariablesPrompt: import_koishi2.Schema.string().role("textarea").default(`你可以使用表情包来丰富你的回复。可用的表情包合集如下:
|
|
539
|
+
{endpoint}
|
|
540
|
+
使用方法:直接用 {base_url} 拼接路径即可,例如 {base_url}/memesluna/yuzu ,访问该URL会自动随机返回一张图片。绝对不要在路径后面添加任何文件名或数字(如 /1.png、/25.png),否则会404。只需要发送合集路径,服务器会自动随机选图。`).description("注入到 ChatLuna {{memesluna}} 变量的提示词模板,支持 {endpoint} 和 {base_url} 占位符")
|
|
539
541
|
});
|
|
540
542
|
var name = "memesluna";
|
|
541
543
|
|
package/package.json
CHANGED