koishi-plugin-ll-douyin 0.1.2 → 0.1.3
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 +4 -4
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -42,12 +42,12 @@ exports.Config = Schema.object({
|
|
|
42
42
|
}).description('推送内容'),
|
|
43
43
|
|
|
44
44
|
video: Schema.object({
|
|
45
|
-
mode: Schema.union(['
|
|
46
|
-
.description('视频投递方式:
|
|
47
|
-
.default('
|
|
45
|
+
mode: Schema.union(['link', 'video', 'file'])
|
|
46
|
+
.description('视频投递方式:link = 只发封面 + 链接(默认,最省流量),video = 视频消息,file = 群文件')
|
|
47
|
+
.default('link'),
|
|
48
48
|
delivery: Schema.union(['auto', 'direct', 'download']).description('直链投递 / 先下载再投递').default('auto'),
|
|
49
49
|
sizeLimitMb: Schema.number().description('体积上限(MB),超过则改发链接').min(0).default(100),
|
|
50
|
-
coverOnFallback: Schema.boolean().description('
|
|
50
|
+
coverOnFallback: Schema.boolean().description('链接模式 / 降级时附带封面图').default(true),
|
|
51
51
|
preferNoWatermark: Schema.boolean().description('优先使用无水印地址(会 302,部分协议端处理不好)').default(false),
|
|
52
52
|
localize: Schema.union(['auto', 'always', 'never'])
|
|
53
53
|
.description('媒体本地化:auto = 官方 QQ 走 base64(抖音直链需要 Cookie,QQ 服务器拉不到),OneBot 直投 URL')
|