kotori-plugin-randomimg 1.2.0 → 1.2.2
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/README.md +25 -25
- package/lib/index.js +101 -60
- package/locales/common.json +4 -0
- package/locales/en_US.json +22 -22
- package/locales/ja_JP.json +22 -22
- package/locales/zh_CN.json +22 -22
- package/locales/zh_TW.json +22 -22
- package/package.json +2 -5
- package/lib/chai.d.ts +0 -1
- package/lib/chai.js +0 -2
package/README.md
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
# kotori-plugin-random-img
|
|
2
|
-
|
|
3
|
-
## Commands
|
|
4
|
-
|
|
5
|
-
- `/sex [tags]` Pixiv images
|
|
6
|
-
- `/sexh` HuliImg images
|
|
7
|
-
- `/bing` Bing daily image
|
|
8
|
-
- `/day` See the world daily
|
|
9
|
-
- `/earth` Real-time Earth
|
|
10
|
-
- `/china` Real-time China
|
|
11
|
-
|
|
12
|
-
```test
|
|
13
|
-
/sex 足
|
|
14
|
-
> Image coming right up...please be patient
|
|
15
|
-
> PID: 84449466
|
|
16
|
-
Title: フランちゃん
|
|
17
|
-
Author: うてきろ
|
|
18
|
-
Tags: 東方 东方 東方Project 东方Project フランドール・スカーレット 芙兰朵露・斯卡蕾特 絆創膏 创可贴 理性を破壊する程度の能力 足以破坏理性的能力 くわえたくしあげ shirt held up with the mouth BAN装甲 剥ぎ取られたパンツ R-17.9
|
|
19
|
-
> [image,https://i.pixiv.re/img-original/img/2020/09/18/18/23/39/84449466_p0.jpg]
|
|
20
|
-
|
|
21
|
-
```
|
|
22
|
-
|
|
23
|
-
## Reference
|
|
24
|
-
|
|
25
|
-
- [Kotori Docs](https://kotori.js.org/)
|
|
1
|
+
# kotori-plugin-random-img
|
|
2
|
+
|
|
3
|
+
## Commands
|
|
4
|
+
|
|
5
|
+
- `/sex [tags]` Pixiv images
|
|
6
|
+
- `/sexh` HuliImg images
|
|
7
|
+
- `/bing` Bing daily image
|
|
8
|
+
- `/day` See the world daily
|
|
9
|
+
- `/earth` Real-time Earth
|
|
10
|
+
- `/china` Real-time China
|
|
11
|
+
|
|
12
|
+
```test
|
|
13
|
+
/sex 足
|
|
14
|
+
> Image coming right up...please be patient
|
|
15
|
+
> PID: 84449466
|
|
16
|
+
Title: フランちゃん
|
|
17
|
+
Author: うてきろ
|
|
18
|
+
Tags: 東方 东方 東方Project 东方Project フランドール・スカーレット 芙兰朵露・斯卡蕾特 絆創膏 创可贴 理性を破壊する程度の能力 足以破坏理性的能力 くわえたくしあげ shirt held up with the mouth BAN装甲 剥ぎ取られたパンツ R-17.9
|
|
19
|
+
> [image,https://i.pixiv.re/img-original/img/2020/09/18/18/23/39/84449466_p0.jpg]
|
|
20
|
+
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
## Reference
|
|
24
|
+
|
|
25
|
+
- [Kotori Docs](https://kotori.js.org/)
|
package/lib/index.js
CHANGED
|
@@ -1,65 +1,106 @@
|
|
|
1
|
+
|
|
2
|
+
/**
|
|
3
|
+
* @Package kotori-plugin-randomimg
|
|
4
|
+
* @Version 1.2.2
|
|
5
|
+
* @Author Hotaru <biyuehuya@gmail.com>
|
|
6
|
+
* @Copyright 2024 Hotaru. All rights reserved.
|
|
7
|
+
* @License GPL-3.0
|
|
8
|
+
* @Link https://github.com/kotorijs/kotori
|
|
9
|
+
* @Date 2024/6/6 21:03:50
|
|
10
|
+
*/
|
|
11
|
+
|
|
1
12
|
"use strict";
|
|
2
|
-
Object.defineProperty
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
+
var __defProp = Object.defineProperty;
|
|
14
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
15
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
16
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
17
|
+
var __export = (target, all) => {
|
|
18
|
+
for (var name in all)
|
|
19
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
20
|
+
};
|
|
21
|
+
var __copyProps = (to, from, except, desc) => {
|
|
22
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
23
|
+
for (let key of __getOwnPropNames(from))
|
|
24
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
25
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
26
|
+
}
|
|
27
|
+
return to;
|
|
28
|
+
};
|
|
29
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
30
|
+
|
|
31
|
+
// src/index.ts
|
|
32
|
+
var src_exports = {};
|
|
33
|
+
__export(src_exports, {
|
|
34
|
+
lang: () => lang,
|
|
35
|
+
main: () => main
|
|
13
36
|
});
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
37
|
+
module.exports = __toCommonJS(src_exports);
|
|
38
|
+
var import_kotori_bot = require("kotori-bot");
|
|
39
|
+
var sexSchema = import_kotori_bot.Tsu.Object({
|
|
40
|
+
data: import_kotori_bot.Tsu.Array(
|
|
41
|
+
import_kotori_bot.Tsu.Object({
|
|
42
|
+
pid: import_kotori_bot.Tsu.Number(),
|
|
43
|
+
title: import_kotori_bot.Tsu.String(),
|
|
44
|
+
author: import_kotori_bot.Tsu.String(),
|
|
45
|
+
tags: import_kotori_bot.Tsu.Array(import_kotori_bot.Tsu.String()),
|
|
46
|
+
url: import_kotori_bot.Tsu.String()
|
|
47
|
+
})
|
|
48
|
+
).optional()
|
|
19
49
|
});
|
|
20
|
-
|
|
21
|
-
|
|
50
|
+
var sexhSchema = import_kotori_bot.Tsu.Object({
|
|
51
|
+
data: import_kotori_bot.Tsu.Object({
|
|
52
|
+
url: import_kotori_bot.Tsu.String(),
|
|
53
|
+
tag: import_kotori_bot.Tsu.Array(import_kotori_bot.Tsu.String())
|
|
54
|
+
}).optional()
|
|
55
|
+
});
|
|
56
|
+
var quick = (url, el) => el.image(url) || "corei18n.template.unsupported";
|
|
57
|
+
var lang = [__dirname, "../locales"];
|
|
22
58
|
function main(ctx) {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
59
|
+
ctx.command("sex [tags] - random_img.descr.sex").action(async (data, session) => {
|
|
60
|
+
session.quick("random_img.msg.sex.tips");
|
|
61
|
+
const res = sexSchema.parse(
|
|
62
|
+
await ctx.http.get(`https://hotaru.icu/api/seimg/v2/`, { tag: data.args[0] || "", r18: 0 })
|
|
63
|
+
);
|
|
64
|
+
if (!res.data) return ["random_img.msg.sex.fail", { input: data.args[0] }];
|
|
65
|
+
const info = res.data[0];
|
|
66
|
+
session.quick(["random_img.msg.sex", { ...info, tags: info.tags.join(" ") }]);
|
|
67
|
+
return ["random_img.msg.sex.image", { image: session.el.image(info.url) }];
|
|
68
|
+
});
|
|
69
|
+
ctx.command("sexh [tags] - random_img.descr.sexh").action(async (data, session) => {
|
|
70
|
+
session.quick("random_img.msg.sexh.tips");
|
|
71
|
+
const res = sexhSchema.parse(await ctx.http.get("https://hotaru.icu/api/huimg/"));
|
|
72
|
+
if (!res.data) return ["random_img.msg.sexh.fail", { input: data.args[0] }];
|
|
73
|
+
const info = res.data;
|
|
74
|
+
return ["random_img.msg.sexh", { tags: info.tag.join(" "), image: session.el.image(info.url) }];
|
|
75
|
+
});
|
|
76
|
+
ctx.command("bing - random_img.descr.bing").action((_, session) => [
|
|
77
|
+
"random_img.msg.bing",
|
|
78
|
+
{
|
|
79
|
+
image: quick("https://api.hotaru.icu/api/bing", session.el)
|
|
80
|
+
}
|
|
81
|
+
]);
|
|
82
|
+
ctx.command("day - random_img.descr.day").action((_, session) => [
|
|
83
|
+
"random_img.msg.day",
|
|
84
|
+
{
|
|
85
|
+
image: quick(`https://api.hotaru.icu/api/60s?apikey=1c42abefdb5f7cc463dbc88e82d561b1&area=\u65E5\u672C\u795E\u6237\u5E02`, session.el)
|
|
86
|
+
}
|
|
87
|
+
]);
|
|
88
|
+
ctx.command("earth - random_img.descr.earth").action((_, session) => [
|
|
89
|
+
"random_img.msg.earth",
|
|
90
|
+
{
|
|
91
|
+
image: quick("https://img.nsmc.org.cn/CLOUDIMAGE/FY4A/MTCC/FY4A_DISK.jpg", session.el)
|
|
92
|
+
}
|
|
93
|
+
]);
|
|
94
|
+
ctx.command("china - random_img.descr.china").action((_, session) => [
|
|
95
|
+
"random_img.msg.china",
|
|
96
|
+
{
|
|
97
|
+
image: quick("https://img.nsmc.org.cn/CLOUDIMAGE/FY4A/MTCC/FY4A_CHINA.jpg", session.el)
|
|
98
|
+
}
|
|
99
|
+
]);
|
|
100
|
+
ctx.command("beauty - random_img.descr.beauty").action((_, session) => ["random_img.msg.beauty", [quick("https://api.hotaru.icu/api/beautyimg", session.el)]]);
|
|
64
101
|
}
|
|
65
|
-
|
|
102
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
103
|
+
0 && (module.exports = {
|
|
104
|
+
lang,
|
|
105
|
+
main
|
|
106
|
+
});
|
package/locales/en_US.json
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
{
|
|
2
|
-
"random_img.descr.sex": "Pixiv images",
|
|
3
|
-
"random_img.descr.sexh": "HuliImg images",
|
|
4
|
-
"random_img.descr.seller": "Seller show images",
|
|
5
|
-
"random_img.descr.sedimg": "Temptation images",
|
|
6
|
-
"random_img.descr.bing": "Bing daily image",
|
|
7
|
-
"random_img.descr.day": "See the world daily",
|
|
8
|
-
"random_img.descr.earth": "Real-time Earth",
|
|
9
|
-
"random_img.descr.china": "Real-time China",
|
|
10
|
-
"random_img.msg.sex.tips": "Image coming right up...please be patient",
|
|
11
|
-
"random_img.msg.sex": "PID: %pid%\nTitle: %title%\nAuthor: %author%\nTags: %tags%",
|
|
12
|
-
"random_img.msg.sex.image": "%image%",
|
|
13
|
-
"random_img.msg.sex.fail": "No matching image found for %input%",
|
|
14
|
-
"random_img.msg.sexh.tips": "Image coming right up...please be patient",
|
|
15
|
-
"random_img.msg.sexh": "Tags: %tags%\n%image%",
|
|
16
|
-
"random_img.msg.sexh.fail": "No matching image found for %input%",
|
|
17
|
-
"random_img.msg.seller": "%image%",
|
|
18
|
-
"random_img.msg.sedimg": "%image%",
|
|
19
|
-
"random_img.msg.bing": "%image%",
|
|
20
|
-
"random_img.msg.day": "%image%",
|
|
21
|
-
"random_img.msg.earth": "%image%",
|
|
22
|
-
"random_img.msg.china": "%image%"
|
|
1
|
+
{
|
|
2
|
+
"random_img.descr.sex": "Pixiv images",
|
|
3
|
+
"random_img.descr.sexh": "HuliImg images",
|
|
4
|
+
"random_img.descr.seller": "Seller show images",
|
|
5
|
+
"random_img.descr.sedimg": "Temptation images",
|
|
6
|
+
"random_img.descr.bing": "Bing daily image",
|
|
7
|
+
"random_img.descr.day": "See the world daily",
|
|
8
|
+
"random_img.descr.earth": "Real-time Earth",
|
|
9
|
+
"random_img.descr.china": "Real-time China",
|
|
10
|
+
"random_img.msg.sex.tips": "Image coming right up...please be patient",
|
|
11
|
+
"random_img.msg.sex": "PID: %pid%\nTitle: %title%\nAuthor: %author%\nTags: %tags%",
|
|
12
|
+
"random_img.msg.sex.image": "%image%",
|
|
13
|
+
"random_img.msg.sex.fail": "No matching image found for %input%",
|
|
14
|
+
"random_img.msg.sexh.tips": "Image coming right up...please be patient",
|
|
15
|
+
"random_img.msg.sexh": "Tags: %tags%\n%image%",
|
|
16
|
+
"random_img.msg.sexh.fail": "No matching image found for %input%",
|
|
17
|
+
"random_img.msg.seller": "%image%",
|
|
18
|
+
"random_img.msg.sedimg": "%image%",
|
|
19
|
+
"random_img.msg.bing": "%image%",
|
|
20
|
+
"random_img.msg.day": "%image%",
|
|
21
|
+
"random_img.msg.earth": "%image%",
|
|
22
|
+
"random_img.msg.china": "%image%"
|
|
23
23
|
}
|
package/locales/ja_JP.json
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
{
|
|
2
|
-
"random_img.descr.sex": "Pixivの画像",
|
|
3
|
-
"random_img.descr.seller": "売り手秀の画像",
|
|
4
|
-
"random_img.descr.sedimg": "誘惑の画像",
|
|
5
|
-
"random_img.descr.bing": "Bingの今日の画像",
|
|
6
|
-
"random_img.descr.day": "毎日世界を見る",
|
|
7
|
-
"random_img.descr.earth": "リアルタイム地球",
|
|
8
|
-
"random_img.descr.china": "リアルタイム中国",
|
|
9
|
-
"random_img.msg.sex.tips": "画像を用意しています。しばらくお待ちください。",
|
|
10
|
-
"random_img.msg.sex": "PID:%pid%\nタイトル:%title%\n作者:%author%\nタグ:%tags%",
|
|
11
|
-
"random_img.msg.sex.image": "%image%",
|
|
12
|
-
"random_img.msg.sex.fail": "%input%に該当する画像が見つかりませんでした。",
|
|
13
|
-
"random_img.descr.sexh": "HuliImgの画像",
|
|
14
|
-
"random_img.msg.sexh.tips": "画像を用意しています。しばらくお待ちください。",
|
|
15
|
-
"random_img.msg.sexh": "タグ:%tags%\n%image%",
|
|
16
|
-
"random_img.msg.sexh.fail": "%input%に該当する画像が見つかりませんでした。",
|
|
17
|
-
"random_img.msg.seller": "%image%",
|
|
18
|
-
"random_img.msg.sedimg": "%image%",
|
|
19
|
-
"random_img.msg.bing": "%image%",
|
|
20
|
-
"random_img.msg.day": "%image%",
|
|
21
|
-
"random_img.msg.earth": "%image%",
|
|
22
|
-
"random_img.msg.china": "%image%"
|
|
1
|
+
{
|
|
2
|
+
"random_img.descr.sex": "Pixivの画像",
|
|
3
|
+
"random_img.descr.seller": "売り手秀の画像",
|
|
4
|
+
"random_img.descr.sedimg": "誘惑の画像",
|
|
5
|
+
"random_img.descr.bing": "Bingの今日の画像",
|
|
6
|
+
"random_img.descr.day": "毎日世界を見る",
|
|
7
|
+
"random_img.descr.earth": "リアルタイム地球",
|
|
8
|
+
"random_img.descr.china": "リアルタイム中国",
|
|
9
|
+
"random_img.msg.sex.tips": "画像を用意しています。しばらくお待ちください。",
|
|
10
|
+
"random_img.msg.sex": "PID:%pid%\nタイトル:%title%\n作者:%author%\nタグ:%tags%",
|
|
11
|
+
"random_img.msg.sex.image": "%image%",
|
|
12
|
+
"random_img.msg.sex.fail": "%input%に該当する画像が見つかりませんでした。",
|
|
13
|
+
"random_img.descr.sexh": "HuliImgの画像",
|
|
14
|
+
"random_img.msg.sexh.tips": "画像を用意しています。しばらくお待ちください。",
|
|
15
|
+
"random_img.msg.sexh": "タグ:%tags%\n%image%",
|
|
16
|
+
"random_img.msg.sexh.fail": "%input%に該当する画像が見つかりませんでした。",
|
|
17
|
+
"random_img.msg.seller": "%image%",
|
|
18
|
+
"random_img.msg.sedimg": "%image%",
|
|
19
|
+
"random_img.msg.bing": "%image%",
|
|
20
|
+
"random_img.msg.day": "%image%",
|
|
21
|
+
"random_img.msg.earth": "%image%",
|
|
22
|
+
"random_img.msg.china": "%image%"
|
|
23
23
|
}
|
package/locales/zh_CN.json
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
{
|
|
2
|
-
"random_img.descr.sex": "Pixiv图片",
|
|
3
|
-
"random_img.descr.sexh": "HuliImg图片",
|
|
4
|
-
"random_img.descr.seller": "卖家秀图片",
|
|
5
|
-
"random_img.descr.sedimg": "诱惑图",
|
|
6
|
-
"random_img.descr.bing": "必应每日图",
|
|
7
|
-
"random_img.descr.day": "60s带你看世界",
|
|
8
|
-
"random_img.descr.earth": "实时地球",
|
|
9
|
-
"random_img.descr.china": "实时中国",
|
|
10
|
-
"random_img.msg.sex.tips": "图片正在来的路上。。。。你先别急",
|
|
11
|
-
"random_img.msg.sex": "PID:%pid%\n标题:%title%\n作者:%author%\n标签:%tags%",
|
|
12
|
-
"random_img.msg.sex.image": "%image%",
|
|
13
|
-
"random_img.msg.sex.fail": "未找到相应图片%input%",
|
|
14
|
-
"random_img.msg.sexh.tips": "图片正在来的路上。。。。你先别急",
|
|
15
|
-
"random_img.msg.sexh": "标签:%tags%\n%image%",
|
|
16
|
-
"random_img.msg.sexh.fail": "未找到相应图片%input%",
|
|
17
|
-
"random_img.msg.seller": "%image%",
|
|
18
|
-
"random_img.msg.sedimg": "%image%",
|
|
19
|
-
"random_img.msg.bing": "%image%",
|
|
20
|
-
"random_img.msg.day": "%image%",
|
|
21
|
-
"random_img.msg.earth": "%image%",
|
|
22
|
-
"random_img.msg.china": "%image%"
|
|
1
|
+
{
|
|
2
|
+
"random_img.descr.sex": "Pixiv图片",
|
|
3
|
+
"random_img.descr.sexh": "HuliImg图片",
|
|
4
|
+
"random_img.descr.seller": "卖家秀图片",
|
|
5
|
+
"random_img.descr.sedimg": "诱惑图",
|
|
6
|
+
"random_img.descr.bing": "必应每日图",
|
|
7
|
+
"random_img.descr.day": "60s带你看世界",
|
|
8
|
+
"random_img.descr.earth": "实时地球",
|
|
9
|
+
"random_img.descr.china": "实时中国",
|
|
10
|
+
"random_img.msg.sex.tips": "图片正在来的路上。。。。你先别急",
|
|
11
|
+
"random_img.msg.sex": "PID:%pid%\n标题:%title%\n作者:%author%\n标签:%tags%",
|
|
12
|
+
"random_img.msg.sex.image": "%image%",
|
|
13
|
+
"random_img.msg.sex.fail": "未找到相应图片%input%",
|
|
14
|
+
"random_img.msg.sexh.tips": "图片正在来的路上。。。。你先别急",
|
|
15
|
+
"random_img.msg.sexh": "标签:%tags%\n%image%",
|
|
16
|
+
"random_img.msg.sexh.fail": "未找到相应图片%input%",
|
|
17
|
+
"random_img.msg.seller": "%image%",
|
|
18
|
+
"random_img.msg.sedimg": "%image%",
|
|
19
|
+
"random_img.msg.bing": "%image%",
|
|
20
|
+
"random_img.msg.day": "%image%",
|
|
21
|
+
"random_img.msg.earth": "%image%",
|
|
22
|
+
"random_img.msg.china": "%image%"
|
|
23
23
|
}
|
package/locales/zh_TW.json
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
{
|
|
2
|
-
"random_img.descr.sex": "Pixiv圖片",
|
|
3
|
-
"random_img.descr.sexh": "HuliImg圖片",
|
|
4
|
-
"random_img.descr.seller": "賣家秀圖片",
|
|
5
|
-
"random_img.descr.sedimg": "誘惑圖",
|
|
6
|
-
"random_img.descr.bing": "必應每日圖",
|
|
7
|
-
"random_img.descr.day": "每日看世界",
|
|
8
|
-
"random_img.descr.earth": "實時地球",
|
|
9
|
-
"random_img.descr.china": "實時中國",
|
|
10
|
-
"random_img.msg.sex.tips": "圖片正在來的路上。。。。你先別急",
|
|
11
|
-
"random_img.msg.sex": "PID:%pid%\n標題:%title%\n作者:%author%\n標簽:%tags%",
|
|
12
|
-
"random_img.msg.sex.image": "%image%",
|
|
13
|
-
"random_img.msg.sex.fail": "未找到相應圖片%input%",
|
|
14
|
-
"random_img.msg.sexh.tips": "圖片正在來的路上。。。。你先別急",
|
|
15
|
-
"random_img.msg.sexh": "標簽:%tags%\n%image%",
|
|
16
|
-
"random_img.msg.sexh.fail": "未找到相應圖片%input%",
|
|
17
|
-
"random_img.msg.seller": "%image%",
|
|
18
|
-
"random_img.msg.sedimg": "%image%",
|
|
19
|
-
"random_img.msg.bing": "%image%",
|
|
20
|
-
"random_img.msg.day": "%image%",
|
|
21
|
-
"random_img.msg.earth": "%image%",
|
|
22
|
-
"random_img.msg.china": "%image%"
|
|
1
|
+
{
|
|
2
|
+
"random_img.descr.sex": "Pixiv圖片",
|
|
3
|
+
"random_img.descr.sexh": "HuliImg圖片",
|
|
4
|
+
"random_img.descr.seller": "賣家秀圖片",
|
|
5
|
+
"random_img.descr.sedimg": "誘惑圖",
|
|
6
|
+
"random_img.descr.bing": "必應每日圖",
|
|
7
|
+
"random_img.descr.day": "每日看世界",
|
|
8
|
+
"random_img.descr.earth": "實時地球",
|
|
9
|
+
"random_img.descr.china": "實時中國",
|
|
10
|
+
"random_img.msg.sex.tips": "圖片正在來的路上。。。。你先別急",
|
|
11
|
+
"random_img.msg.sex": "PID:%pid%\n標題:%title%\n作者:%author%\n標簽:%tags%",
|
|
12
|
+
"random_img.msg.sex.image": "%image%",
|
|
13
|
+
"random_img.msg.sex.fail": "未找到相應圖片%input%",
|
|
14
|
+
"random_img.msg.sexh.tips": "圖片正在來的路上。。。。你先別急",
|
|
15
|
+
"random_img.msg.sexh": "標簽:%tags%\n%image%",
|
|
16
|
+
"random_img.msg.sexh.fail": "未找到相應圖片%input%",
|
|
17
|
+
"random_img.msg.seller": "%image%",
|
|
18
|
+
"random_img.msg.sedimg": "%image%",
|
|
19
|
+
"random_img.msg.bing": "%image%",
|
|
20
|
+
"random_img.msg.day": "%image%",
|
|
21
|
+
"random_img.msg.earth": "%image%",
|
|
22
|
+
"random_img.msg.china": "%image%"
|
|
23
23
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "kotori-plugin-randomimg",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "1.2.2",
|
|
4
4
|
"description": "Random imgs base for Core",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"keywords": [
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
],
|
|
18
18
|
"author": "Hotaru <biyuehuya@gmail.com>",
|
|
19
19
|
"peerDependencies": {
|
|
20
|
-
"kotori-bot": "^
|
|
20
|
+
"kotori-bot": "^1.5.0"
|
|
21
21
|
},
|
|
22
22
|
"kotori": {
|
|
23
23
|
"meta": {
|
|
@@ -28,8 +28,5 @@
|
|
|
28
28
|
"zh_CN"
|
|
29
29
|
]
|
|
30
30
|
}
|
|
31
|
-
},
|
|
32
|
-
"scripts": {
|
|
33
|
-
"build": "tsc --build"
|
|
34
31
|
}
|
|
35
32
|
}
|
package/lib/chai.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
package/lib/chai.js
DELETED