koishi-plugin-w-ygo 0.0.1
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/apis.d.ts +100 -0
- package/lib/index.d.ts +6 -0
- package/lib/index.js +128 -0
- package/lib/locales/sets/zh.d.ts +305 -0
- package/package.json +28 -0
- package/readme.md +5 -0
package/lib/apis.d.ts
ADDED
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
export declare namespace APIs {
|
|
2
|
+
const ygocdb: (query: {
|
|
3
|
+
search: string;
|
|
4
|
+
}) => string;
|
|
5
|
+
type Ygocdb = {
|
|
6
|
+
result: Array<{
|
|
7
|
+
cid: number;
|
|
8
|
+
id: number;
|
|
9
|
+
en_name: string;
|
|
10
|
+
jp_name: string;
|
|
11
|
+
jp_ruby: string;
|
|
12
|
+
cn_name: string;
|
|
13
|
+
sc_name: string;
|
|
14
|
+
md_name: string;
|
|
15
|
+
nwbbs_n: string;
|
|
16
|
+
cnocg_n: string;
|
|
17
|
+
text: {
|
|
18
|
+
types: string;
|
|
19
|
+
desc: string;
|
|
20
|
+
pdesc: string;
|
|
21
|
+
};
|
|
22
|
+
data: {
|
|
23
|
+
ot: number;
|
|
24
|
+
setcode: string;
|
|
25
|
+
type: number;
|
|
26
|
+
atk: number;
|
|
27
|
+
def: number;
|
|
28
|
+
level: number;
|
|
29
|
+
race: number;
|
|
30
|
+
attribute: number;
|
|
31
|
+
};
|
|
32
|
+
html: {
|
|
33
|
+
desc: string;
|
|
34
|
+
pdesc: string;
|
|
35
|
+
refer: Record<string, string>;
|
|
36
|
+
};
|
|
37
|
+
weight: number;
|
|
38
|
+
faqs: string[];
|
|
39
|
+
artid: number;
|
|
40
|
+
}>;
|
|
41
|
+
next: number;
|
|
42
|
+
};
|
|
43
|
+
const mdmcards: (query: {
|
|
44
|
+
name: string;
|
|
45
|
+
}) => string;
|
|
46
|
+
type MdmBanStatus = 'Limited 2' | 'Limited 1' | 'Forbidden';
|
|
47
|
+
const showMdmBanStatus: (banStatus: MdmBanStatus | undefined) => "无" | "限 2" | "限 1" | "禁止";
|
|
48
|
+
type MdmRarity = 'N' | 'R' | 'SR' | 'UR';
|
|
49
|
+
type MdmLinkArrow = 'Top' | 'Bottom' | 'Left' | 'Right' | 'Top-Left' | 'Top-Right' | 'Bottom-Left' | 'Bottom-Right';
|
|
50
|
+
type MdmObtain = {
|
|
51
|
+
source: {
|
|
52
|
+
_id: string;
|
|
53
|
+
type: string;
|
|
54
|
+
name: string;
|
|
55
|
+
expires?: string;
|
|
56
|
+
linkedArticle?: {
|
|
57
|
+
_id: string;
|
|
58
|
+
title: string;
|
|
59
|
+
url: string;
|
|
60
|
+
image: string;
|
|
61
|
+
};
|
|
62
|
+
url: string;
|
|
63
|
+
image: string;
|
|
64
|
+
};
|
|
65
|
+
amount: number;
|
|
66
|
+
type: string;
|
|
67
|
+
};
|
|
68
|
+
const showMdmObtain: (obtain: MdmObtain) => string;
|
|
69
|
+
type MdmCard = {
|
|
70
|
+
_id: string;
|
|
71
|
+
gameId: string | number;
|
|
72
|
+
konamiID: string;
|
|
73
|
+
name: string;
|
|
74
|
+
type: string;
|
|
75
|
+
monsterType: string[];
|
|
76
|
+
race: string;
|
|
77
|
+
level: number;
|
|
78
|
+
attribute: string;
|
|
79
|
+
atk: number;
|
|
80
|
+
def: number;
|
|
81
|
+
alternateArt: boolean;
|
|
82
|
+
linkArrows: MdmLinkArrow[];
|
|
83
|
+
description: string;
|
|
84
|
+
handtrap?: boolean;
|
|
85
|
+
rarity: MdmRarity;
|
|
86
|
+
obtain: MdmObtain[];
|
|
87
|
+
banStatus?: MdmBanStatus;
|
|
88
|
+
ocgBanStatus?: MdmBanStatus;
|
|
89
|
+
tcgBanStatus?: MdmBanStatus;
|
|
90
|
+
release: string;
|
|
91
|
+
ocgRelease: string;
|
|
92
|
+
tcgRelease: string;
|
|
93
|
+
popRank: number;
|
|
94
|
+
deckTypes: string[];
|
|
95
|
+
};
|
|
96
|
+
type MdmCards = MdmCard[];
|
|
97
|
+
const momobako: (query: {
|
|
98
|
+
id: number;
|
|
99
|
+
}) => string;
|
|
100
|
+
}
|
package/lib/index.d.ts
ADDED
package/lib/index.js
ADDED
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name2 in all)
|
|
8
|
+
__defProp(target, name2, { get: all[name2], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
|
|
20
|
+
// src/index.tsx
|
|
21
|
+
var src_exports = {};
|
|
22
|
+
__export(src_exports, {
|
|
23
|
+
Config: () => Config,
|
|
24
|
+
apply: () => apply,
|
|
25
|
+
name: () => name
|
|
26
|
+
});
|
|
27
|
+
module.exports = __toCommonJS(src_exports);
|
|
28
|
+
var import_koishi = require("koishi");
|
|
29
|
+
|
|
30
|
+
// src/apis.ts
|
|
31
|
+
var APIs;
|
|
32
|
+
((APIs2) => {
|
|
33
|
+
APIs2.ygocdb = /* @__PURE__ */ __name((query) => `https://ygocdb.com/api/v0/?search=${encodeURIComponent(query.search)}`, "ygocdb");
|
|
34
|
+
APIs2.mdmcards = /* @__PURE__ */ __name((query) => `https://www.masterduelmeta.com/api/v1/cards?search=${encodeURIComponent(query.name)}`, "mdmcards");
|
|
35
|
+
APIs2.showMdmBanStatus = /* @__PURE__ */ __name((banStatus) => {
|
|
36
|
+
if (!banStatus) return "无";
|
|
37
|
+
switch (banStatus) {
|
|
38
|
+
case "Limited 2":
|
|
39
|
+
return "限 2";
|
|
40
|
+
case "Limited 1":
|
|
41
|
+
return "限 1";
|
|
42
|
+
case "Forbidden":
|
|
43
|
+
return "禁止";
|
|
44
|
+
}
|
|
45
|
+
}, "showMdmBanStatus");
|
|
46
|
+
APIs2.showMdmObtain = /* @__PURE__ */ __name((obtain) => {
|
|
47
|
+
const expired = obtain.source.expires && new Date(obtain.source.expires) < /* @__PURE__ */ new Date();
|
|
48
|
+
return `${obtain.source.name}${expired ? "" : " (过期) "}`;
|
|
49
|
+
}, "showMdmObtain");
|
|
50
|
+
APIs2.momobako = /* @__PURE__ */ __name((query) => `https://cdn.233.momobako.com/ygopro/pics/${query.id}.jpg`, "momobako");
|
|
51
|
+
})(APIs || (APIs = {}));
|
|
52
|
+
|
|
53
|
+
// src/index.tsx
|
|
54
|
+
var import_jsx_runtime = require("@satorijs/element/jsx-runtime");
|
|
55
|
+
var name = "w-ygo";
|
|
56
|
+
var Config = import_koishi.Schema.object({});
|
|
57
|
+
function apply(ctx) {
|
|
58
|
+
ctx.command("ygo <search:text>", "通过 ygocdb.com 搜索游戏王卡片").option("mdm", "-m 从 Master Duel Meta 获取额外信息(会消耗更多时间)", { fallback: true }).action(async ({ session, options }, search) => {
|
|
59
|
+
const { result: cards } = await ctx.http.get(APIs.ygocdb({ search }));
|
|
60
|
+
if (!cards.length) return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_jsx_runtime.Fragment, { children: "未找到相关卡片" });
|
|
61
|
+
const [card] = cards;
|
|
62
|
+
let mdminfo = /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_jsx_runtime.Fragment, { children: "从 MDM 获取信息失败" });
|
|
63
|
+
if (options.mdm) {
|
|
64
|
+
const mdmcards = await ctx.http.get(APIs.mdmcards({ name: card.en_name }));
|
|
65
|
+
const gameId = String(card.cid);
|
|
66
|
+
const mdmcard = mdmcards.find((it) => String(it.gameId) === gameId);
|
|
67
|
+
if (mdmcard) {
|
|
68
|
+
mdminfo = /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, { children: [
|
|
69
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("p", { children: [
|
|
70
|
+
"[MD 稀有度] ",
|
|
71
|
+
mdmcard.rarity
|
|
72
|
+
] }),
|
|
73
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("p", { children: [
|
|
74
|
+
"[MD 禁限] ",
|
|
75
|
+
APIs.showMdmBanStatus(mdmcard.banStatus)
|
|
76
|
+
] }),
|
|
77
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("p", { children: [
|
|
78
|
+
"[OCG 禁限] ",
|
|
79
|
+
APIs.showMdmBanStatus(mdmcard.ocgBanStatus)
|
|
80
|
+
] }),
|
|
81
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("p", { children: [
|
|
82
|
+
"[TCG 禁限] ",
|
|
83
|
+
APIs.showMdmBanStatus(mdmcard.tcgBanStatus)
|
|
84
|
+
] }),
|
|
85
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("p", { children: [
|
|
86
|
+
"[MD 卡包] ",
|
|
87
|
+
mdmcard.obtain.map(APIs.showMdmObtain).join(", ") || "无"
|
|
88
|
+
] })
|
|
89
|
+
] });
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
session.send(/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("message", { forward: true, children: [
|
|
93
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("message", { children: [
|
|
94
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("img", { src: APIs.momobako({ id: card.id }), alt: card.en_name }),
|
|
95
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("p", { children: [
|
|
96
|
+
"[MD 卡名] ",
|
|
97
|
+
card.md_name || "无"
|
|
98
|
+
] }),
|
|
99
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("p", { children: [
|
|
100
|
+
"[常用名] ",
|
|
101
|
+
card.cn_name
|
|
102
|
+
] }),
|
|
103
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("p", { children: [
|
|
104
|
+
"[日文名] ",
|
|
105
|
+
card.jp_name ? `${card.jp_name}(${card.jp_ruby})` : "无"
|
|
106
|
+
] }),
|
|
107
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("p", { children: [
|
|
108
|
+
"[英文名] ",
|
|
109
|
+
card.en_name || "无"
|
|
110
|
+
] }),
|
|
111
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("p", { children: card.text.types }),
|
|
112
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("p", { children: card.text.desc }),
|
|
113
|
+
card.text.pdesc && /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("p", { children: [
|
|
114
|
+
"[灵摆效果] ",
|
|
115
|
+
card.text.pdesc
|
|
116
|
+
] })
|
|
117
|
+
] }),
|
|
118
|
+
options.mdm && /* @__PURE__ */ (0, import_jsx_runtime.jsx)("message", { children: mdminfo })
|
|
119
|
+
] }));
|
|
120
|
+
});
|
|
121
|
+
}
|
|
122
|
+
__name(apply, "apply");
|
|
123
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
124
|
+
0 && (module.exports = {
|
|
125
|
+
Config,
|
|
126
|
+
apply,
|
|
127
|
+
name
|
|
128
|
+
});
|
|
@@ -0,0 +1,305 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
"Master Pack": string;
|
|
3
|
+
"Revival of Legends": string;
|
|
4
|
+
"Stalwart Force": string;
|
|
5
|
+
"Beyond Speed": string;
|
|
6
|
+
"Ruler's Mask": string;
|
|
7
|
+
"Fusion Potential": string;
|
|
8
|
+
"Refined Blade": string;
|
|
9
|
+
"Valiant Wings": string;
|
|
10
|
+
"Wandering Travelers": string;
|
|
11
|
+
"Invincible Raid": string;
|
|
12
|
+
"The Newborn Dragon": string;
|
|
13
|
+
"Cosmic Ocean": string;
|
|
14
|
+
"Battle Trajectory": string;
|
|
15
|
+
"Mysterious Labyrinth": string;
|
|
16
|
+
"Beginning of Turmoil": string;
|
|
17
|
+
"Heroic Warriors": string;
|
|
18
|
+
"Recollection of Stories": string;
|
|
19
|
+
"Sprites of Miracle": string;
|
|
20
|
+
"New Step for Duelists": string;
|
|
21
|
+
"Strong Will": string;
|
|
22
|
+
"Passage of the Sun": string;
|
|
23
|
+
"Blessings of Nature": string;
|
|
24
|
+
"The Synchronized Cosmos": string;
|
|
25
|
+
"Climax of the Showdown": string;
|
|
26
|
+
"Dreaded Conspiracy": string;
|
|
27
|
+
"Rage of Chaos": string;
|
|
28
|
+
"Inherited Unity": string;
|
|
29
|
+
"Galactic Eavolution": string;
|
|
30
|
+
"Flame of Fury": string;
|
|
31
|
+
"Record of Noble Spirits": string;
|
|
32
|
+
"Singularity Warrior": string;
|
|
33
|
+
"Beginning of the Next Journey": string;
|
|
34
|
+
"Mighty Contenders": string;
|
|
35
|
+
"Indomitable Pride": string;
|
|
36
|
+
"Ride Into the Future": string;
|
|
37
|
+
"Name of Champions": string;
|
|
38
|
+
"Return of the King": string;
|
|
39
|
+
"Blazing Arena": string;
|
|
40
|
+
"Nightmare Arrivals": string;
|
|
41
|
+
"Revived Legion": string;
|
|
42
|
+
"Lord of Dimensions": string;
|
|
43
|
+
"Victory in Progress": string;
|
|
44
|
+
"Eternal Partners": string;
|
|
45
|
+
"Xyz Explosion": string;
|
|
46
|
+
"The Masters Saga": string;
|
|
47
|
+
"Wings of the Guardian": string;
|
|
48
|
+
"Advance of Great Forces": string;
|
|
49
|
+
"Aim for the Stars": string;
|
|
50
|
+
"Outlaws from the Inferno": string;
|
|
51
|
+
"Tricky Reception": string;
|
|
52
|
+
"Geas of the Light": string;
|
|
53
|
+
"Chaotic Showtime": string;
|
|
54
|
+
"Invincible Aces": string;
|
|
55
|
+
"Dragons' Reincarnation": string;
|
|
56
|
+
"The Forbidden Liberated": string;
|
|
57
|
+
"Duel Experts": string;
|
|
58
|
+
"The Ultimate Sparkle": string;
|
|
59
|
+
"Metal Raiders' Dominance": string;
|
|
60
|
+
"Onslaught of Emperors": string;
|
|
61
|
+
"Wrath of the Tyrants": string;
|
|
62
|
+
"Gate to the Throne": string;
|
|
63
|
+
"The Perpetual Maze": string;
|
|
64
|
+
"Battle of Destiny": string;
|
|
65
|
+
"Struggle in Wonderland": string;
|
|
66
|
+
"Legacy Pack": string;
|
|
67
|
+
"Xyz Reward": string;
|
|
68
|
+
"Synchro Reward": string;
|
|
69
|
+
"Fusion Reward": string;
|
|
70
|
+
"2023 Special Reward": string;
|
|
71
|
+
"2024 Special Reward": string;
|
|
72
|
+
"Xyz Cup Rewards": string;
|
|
73
|
+
"2025 Special Reward": string;
|
|
74
|
+
"A Dance Dedicated to the Heavens": string;
|
|
75
|
+
"A Full Course of Magic": string;
|
|
76
|
+
"A Song of Zephyr and Petals": string;
|
|
77
|
+
"A Warrior of Seething Anger": string;
|
|
78
|
+
"AI Omniscience": string;
|
|
79
|
+
"Abyssal Underworld": string;
|
|
80
|
+
"Advanced Warriors": string;
|
|
81
|
+
"Adventure of Mystical Etchings": string;
|
|
82
|
+
"Agathokakologically Whispered Fates": string;
|
|
83
|
+
"Alba Abyss": string;
|
|
84
|
+
"Altered Heraldry": string;
|
|
85
|
+
"Artistic Angel": string;
|
|
86
|
+
"Astral Trinity of Gods": string;
|
|
87
|
+
"Awakening of the Ancients": string;
|
|
88
|
+
"Beastly Claws of Terror": string;
|
|
89
|
+
"Beasts of the Inferno": string;
|
|
90
|
+
"Beetle Troops Roll Out": string;
|
|
91
|
+
"Beloved Dolls": string;
|
|
92
|
+
"Blazing Fortitude": string;
|
|
93
|
+
"Blazing Warriors": string;
|
|
94
|
+
"Blooming in Adversity": string;
|
|
95
|
+
"Bonkers Bikers' Wild Wheels": string;
|
|
96
|
+
"Bujin's Vault of Heaven": string;
|
|
97
|
+
"Burst of Zapping Energy!": string;
|
|
98
|
+
"Captivating Curtain Call": string;
|
|
99
|
+
"Celestial Dragon and Bear": string;
|
|
100
|
+
"Cell \"A\" Corruption": string;
|
|
101
|
+
"Champions of Hope": string;
|
|
102
|
+
"Champions of Salvation": string;
|
|
103
|
+
"Colossal Mech": string;
|
|
104
|
+
"Combatants of Flame": string;
|
|
105
|
+
"Cosmic Mechanical Entities": string;
|
|
106
|
+
"Counterswing Mages": string;
|
|
107
|
+
"Cross-Dimensional Contracts": string;
|
|
108
|
+
"Crystal Realm Defier": string;
|
|
109
|
+
"Crystal Septenary": string;
|
|
110
|
+
"Curse of the Serpent": string;
|
|
111
|
+
"Cyber City Guardians": string;
|
|
112
|
+
"Darkest Magics": string;
|
|
113
|
+
"Deceitful Wings of Darkness": string;
|
|
114
|
+
"Denizens of Sacred Tree Grove": string;
|
|
115
|
+
"Destiny's Sorceress": string;
|
|
116
|
+
"Devastation Regenerated": string;
|
|
117
|
+
"Draconic Resplendence": string;
|
|
118
|
+
"Dragon Kings from the Abyss": string;
|
|
119
|
+
"Dragon Knight Gorge": string;
|
|
120
|
+
"Dragon Luster": string;
|
|
121
|
+
"Dragon Spirit": string;
|
|
122
|
+
"Dreadnought Advance": string;
|
|
123
|
+
"Echo Chamber Nation": string;
|
|
124
|
+
Electrilyrical: string;
|
|
125
|
+
"Electron Illusions": string;
|
|
126
|
+
"Elemental Exchanges": string;
|
|
127
|
+
"Emblazoned Armor": string;
|
|
128
|
+
"Emerging Monstrosity Recon!": string;
|
|
129
|
+
"Enchanted Threads of Shade": string;
|
|
130
|
+
"Essence of Flora and Ocean": string;
|
|
131
|
+
"Evoked Dragon of Miracles": string;
|
|
132
|
+
"Exquisite Jet-Black Rose": string;
|
|
133
|
+
"Fabled Gods": string;
|
|
134
|
+
"Fiendish Encounter": string;
|
|
135
|
+
"Fiendish Playthings": string;
|
|
136
|
+
"Fighting Spirit of Sparking Iron": string;
|
|
137
|
+
"Fires of Scorching Bonds": string;
|
|
138
|
+
"Fires of This World and The Next": string;
|
|
139
|
+
"Flowers That Thrive Upon Woe": string;
|
|
140
|
+
"Forest Friends": string;
|
|
141
|
+
"Forgotten City Dwellers": string;
|
|
142
|
+
"Forgotten Underworld": string;
|
|
143
|
+
"Futuristic Creatures": string;
|
|
144
|
+
"Galaxy War": string;
|
|
145
|
+
"Gargantuan Gears": string;
|
|
146
|
+
"Glacial Seal": string;
|
|
147
|
+
"Glory on Wings": string;
|
|
148
|
+
"Gods of Abyss and Arcadia": string;
|
|
149
|
+
"Great Shogun's Rule": string;
|
|
150
|
+
"Guardian of Kings": string;
|
|
151
|
+
"Guardian of the Sacred Summit": string;
|
|
152
|
+
"Guardians of Fire": string;
|
|
153
|
+
"Guardians of the Sacred Sky": string;
|
|
154
|
+
"Guided by Fate": string;
|
|
155
|
+
"Guided by the Noble Blade": string;
|
|
156
|
+
"Hand of Fate": string;
|
|
157
|
+
"Hope Sprouting in the Spring Breeze": string;
|
|
158
|
+
"Illusion Beast's Roar": string;
|
|
159
|
+
"Immortal Royalty": string;
|
|
160
|
+
"Immovable Samurai": string;
|
|
161
|
+
"Impending Assassination": string;
|
|
162
|
+
"Indomitable Knights": string;
|
|
163
|
+
"Inevitability of Chaos": string;
|
|
164
|
+
"Insect Metamorphosis": string;
|
|
165
|
+
"Interdimensional Interlopers": string;
|
|
166
|
+
"Invaders from Outer Space": string;
|
|
167
|
+
"Invulnerable Iron Wings": string;
|
|
168
|
+
"Iron Core Synthetics": string;
|
|
169
|
+
"Justice Before Attribute": string;
|
|
170
|
+
"Justice from Light": string;
|
|
171
|
+
"Knowledge of the Mythlords": string;
|
|
172
|
+
"Legends of Old": string;
|
|
173
|
+
"Life Finds a Way": string;
|
|
174
|
+
"Life Force Control System": string;
|
|
175
|
+
"Magnificence of Angels": string;
|
|
176
|
+
"Mastery of the Grimoire": string;
|
|
177
|
+
"Miraculous Advent": string;
|
|
178
|
+
"Mischievous Specters": string;
|
|
179
|
+
"Monster Overdrive": string;
|
|
180
|
+
"Moonlit Avian Dance": string;
|
|
181
|
+
"Mother Nature's Snare": string;
|
|
182
|
+
"My Cute Lovely Friends": string;
|
|
183
|
+
"Natural Selection": string;
|
|
184
|
+
"Nebula Cyclone": string;
|
|
185
|
+
"Neo Space Comrades": string;
|
|
186
|
+
"New Frontier": string;
|
|
187
|
+
"New World Replete With Joy": string;
|
|
188
|
+
"Number Recall": string;
|
|
189
|
+
"Onomatopair-Up": string;
|
|
190
|
+
"Overlay of Obsidian Armor": string;
|
|
191
|
+
"Pearlescent Cyber Dragons": string;
|
|
192
|
+
"Piercing Winds": string;
|
|
193
|
+
"Pledge of Sword": string;
|
|
194
|
+
"Prank Panic!": string;
|
|
195
|
+
"Prehistoric Beast Advance": string;
|
|
196
|
+
"Primordial Rising": string;
|
|
197
|
+
"Pyroxene Relinquished": string;
|
|
198
|
+
"Raging God of the Sea": string;
|
|
199
|
+
"Rapid Aircraft Advancement": string;
|
|
200
|
+
"Rescue Team, Emergency Dispatch!": string;
|
|
201
|
+
"Rites of the Mirrorworld": string;
|
|
202
|
+
"Roaring Thunder": string;
|
|
203
|
+
"Roid Nexus": string;
|
|
204
|
+
"Roused from Destruction": string;
|
|
205
|
+
"Rulers of Darkness": string;
|
|
206
|
+
"Rulers of the Deep": string;
|
|
207
|
+
"Sacred Imperial Tomb": string;
|
|
208
|
+
"Savage Crimson Dragon": string;
|
|
209
|
+
"Scientific Analysis": string;
|
|
210
|
+
"Scrap Iron Soldiers": string;
|
|
211
|
+
"Secret Fighters": string;
|
|
212
|
+
"Seedling Soul Fey": string;
|
|
213
|
+
"Seekers of Witchcraft": string;
|
|
214
|
+
"Shark's Pride": string;
|
|
215
|
+
"Shifting Gears": string;
|
|
216
|
+
"Shining Sarcophagus of Destiny": string;
|
|
217
|
+
"Shot Through Fiction": string;
|
|
218
|
+
"Shrouded Heroes": string;
|
|
219
|
+
"Sinful Serpent's Stare": string;
|
|
220
|
+
"Singular Strike Overthrow": string;
|
|
221
|
+
"Sisters of the Light": string;
|
|
222
|
+
"Sky Striker Awakening": string;
|
|
223
|
+
"Soaring on Darkest Wings": string;
|
|
224
|
+
"Soldiers from the Storm": string;
|
|
225
|
+
"Songstress of Sorrow Song": string;
|
|
226
|
+
"Souls of Sublime Gods": string;
|
|
227
|
+
"Space-Time Transcendents": string;
|
|
228
|
+
"Spiritual Mastery": string;
|
|
229
|
+
"Star-Studded Futures": string;
|
|
230
|
+
"Stardust Ties": string;
|
|
231
|
+
"Sugar-Suffused Reverie": string;
|
|
232
|
+
"Supernatural Elements": string;
|
|
233
|
+
"Sword of the Seventh One": string;
|
|
234
|
+
"Synchro Mode Change": string;
|
|
235
|
+
"Terra Firma Transcendents": string;
|
|
236
|
+
"The Azure in the Ivory": string;
|
|
237
|
+
"The Bizarre Playing Board": string;
|
|
238
|
+
"The Cerise in the Ebony": string;
|
|
239
|
+
"The Cost of Dark Powers": string;
|
|
240
|
+
"The Darkness Amuses": string;
|
|
241
|
+
"The First Heroes": string;
|
|
242
|
+
"The Great Olds": string;
|
|
243
|
+
"The Hidden Arts": string;
|
|
244
|
+
"The Infinite Void": string;
|
|
245
|
+
"The Most Dangerous Race of the Cosmos!": string;
|
|
246
|
+
"The Noble Knights of Crimson Flowers": string;
|
|
247
|
+
"The Ones Who Serve Ra": string;
|
|
248
|
+
"The Opening Act of an Apocalypse": string;
|
|
249
|
+
"The Trap in the Wicked Castle": string;
|
|
250
|
+
"The Ultimate Traditional Art": string;
|
|
251
|
+
"Those who Stand Against Kings": string;
|
|
252
|
+
"Three-Strike Success": string;
|
|
253
|
+
"Ties to Mother Nature": string;
|
|
254
|
+
"Timeworn Legacies": string;
|
|
255
|
+
Toontastic: string;
|
|
256
|
+
"Tournament Athletes": string;
|
|
257
|
+
"Traditions of Trickery": string;
|
|
258
|
+
"Tranquil Benediction": string;
|
|
259
|
+
Transcendentalism: string;
|
|
260
|
+
"Transfigured Heroes": string;
|
|
261
|
+
"Transforming Tech": string;
|
|
262
|
+
"Treasures of the Cosmic Ocean": string;
|
|
263
|
+
"True Dracos' Forging": string;
|
|
264
|
+
"True Awakening of the Oathbound Knights": string;
|
|
265
|
+
"Valiant Gladiator Beasts": string;
|
|
266
|
+
"Vessels of Freedom": string;
|
|
267
|
+
"VS NEW CHALLENGER!": string;
|
|
268
|
+
"Warp-Speed Toys": string;
|
|
269
|
+
"Warriors Unite!": string;
|
|
270
|
+
"Warriors of Legend": string;
|
|
271
|
+
"Wind-Up Soldiers": string;
|
|
272
|
+
"Wings That Span the Sky": string;
|
|
273
|
+
"World Cloaked in Magical Power": string;
|
|
274
|
+
"Worthy Adversaries": string;
|
|
275
|
+
"Yearning Evil Body": string;
|
|
276
|
+
"Starting Deck": string;
|
|
277
|
+
"Link Generation": string;
|
|
278
|
+
"Power of the Dragon": string;
|
|
279
|
+
"Synchro of Unity": string;
|
|
280
|
+
"Emergence of the Monarchs": string;
|
|
281
|
+
"Being Who Sees the End of the World": string;
|
|
282
|
+
"Gem-Knights' Resolution": string;
|
|
283
|
+
"Roar of the Gladiator Beasts": string;
|
|
284
|
+
"Heir to the Shiranui-Style": string;
|
|
285
|
+
"Growing Digital Bug": string;
|
|
286
|
+
"Magician of Pendulum": string;
|
|
287
|
+
"Re-Contract Universe": string;
|
|
288
|
+
"Rage of Cipher": string;
|
|
289
|
+
"Cybernetic Successor": string;
|
|
290
|
+
"Dragonmaid-To-Order": string;
|
|
291
|
+
"Spellbook of Prophecy": string;
|
|
292
|
+
"Burning Spirits": string;
|
|
293
|
+
"Immortal Glory": string;
|
|
294
|
+
"Vortex of Magic": string;
|
|
295
|
+
"Spiral Spear Strike": string;
|
|
296
|
+
"Blackwing's Pride": string;
|
|
297
|
+
"Hidden Arts of Shadows": string;
|
|
298
|
+
"Blue-Eyes Max": string;
|
|
299
|
+
"Sword of Souls": string;
|
|
300
|
+
"Origin of the Galaxy": string;
|
|
301
|
+
"Heroes' Union": string;
|
|
302
|
+
"Blaze of Albaz": string;
|
|
303
|
+
"Crimson Powerforce": string;
|
|
304
|
+
};
|
|
305
|
+
export default _default;
|
package/package.json
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "koishi-plugin-w-ygo",
|
|
3
|
+
"description": "WillBot: YuGiOh function",
|
|
4
|
+
"version": "0.0.1",
|
|
5
|
+
"main": "lib/index.js",
|
|
6
|
+
"typings": "lib/index.d.ts",
|
|
7
|
+
"files": [
|
|
8
|
+
"lib",
|
|
9
|
+
"dist"
|
|
10
|
+
],
|
|
11
|
+
"license": "MIT",
|
|
12
|
+
"keywords": [
|
|
13
|
+
"chatbot",
|
|
14
|
+
"koishi",
|
|
15
|
+
"plugin"
|
|
16
|
+
],
|
|
17
|
+
"peerDependencies": {
|
|
18
|
+
"koishi": "^4.18.7"
|
|
19
|
+
},
|
|
20
|
+
"dependencies": {
|
|
21
|
+
"@satorijs/element": "^3.1.8"
|
|
22
|
+
},
|
|
23
|
+
"scripts": {
|
|
24
|
+
"build": "yarn workspace willbot build w-ygo",
|
|
25
|
+
"bump": "yarn workspace willbot bump w-ygo",
|
|
26
|
+
"pub": "yarn workspace willbot pub w-ygo"
|
|
27
|
+
}
|
|
28
|
+
}
|