From 677fb71e782a390e903dbfd14c12284d0454ff7e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=96=B9=E6=9F=B3=E7=85=9C?= <101934327+fangliuyu@users.noreply.github.com> Date: Sun, 27 Nov 2022 14:12:34 +0800 Subject: [PATCH 01/23] Update README.md --- README.md | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/README.md b/README.md index 5744008863..2d87f087ec 100644 --- a/README.md +++ b/README.md @@ -1352,6 +1352,34 @@ NeteaseCloudMusicApi项目地址:https://binaryify.github.io/NeteaseCloudMusicAp - [x] 团队七阶猜单词 +
+ 一些游戏王插件 + `import _ "github.com/FloatTech/ZeroBot-Plugin/plugin/ygo"` +
+ 白鸽API卡查 + - [x] /ydp [xxx] + + - [x] /yds [xxx] + + - [x] /ydb [xxx] + + - 注:[xxx]为搜索内容;p:返回一张图片;s:返回一张效果描述;b:高级搜索 + +
+
+ 集换社卡价查询 + - [x] 查卡价 [卡名] + + - [x] 查卡价 [卡名] [稀有度 稀有度 ...] + + - [x] 查卡店 [卡名] + + - [x] 查卡店 [卡名] [稀有度] + + - 注:卡店只支持单个稀有度查询 + +
+
鬼东西 From 704c2f592d891e6b19d4225f5342278576b105bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=96=B9=E6=9F=B3=E7=85=9C?= <101934327+fangliuyu@users.noreply.github.com> Date: Sun, 27 Nov 2022 14:25:57 +0800 Subject: [PATCH 02/23] Update README.md --- README.md | 32 +++++++++++++++++--------------- 1 file changed, 17 insertions(+), 15 deletions(-) diff --git a/README.md b/README.md index 2d87f087ec..b7f315be8f 100644 --- a/README.md +++ b/README.md @@ -1355,30 +1355,32 @@ NeteaseCloudMusicApi项目地址:https://binaryify.github.io/NeteaseCloudMusicAp
一些游戏王插件 `import _ "github.com/FloatTech/ZeroBot-Plugin/plugin/ygo"` -
- 白鸽API卡查 - - [x] /ydp [xxx] +
+
+ 白鸽API卡查 + - [x] /ydp [xxx] - - [x] /yds [xxx] + - [x] /yds [xxx] - - [x] /ydb [xxx] + - [x] /ydb [xxx] - - 注:[xxx]为搜索内容;p:返回一张图片;s:返回一张效果描述;b:高级搜索 + - 注:[xxx]为搜索内容;p:返回一张图片;s:返回一张效果描述;b:高级搜索 -
-
- 集换社卡价查询 - - [x] 查卡价 [卡名] +
+
+ 集换社卡价查询 + - [x] 查卡价 [卡名] - - [x] 查卡价 [卡名] [稀有度 稀有度 ...] + - [x] 查卡价 [卡名] [稀有度 稀有度 ...] - - [x] 查卡店 [卡名] + - [x] 查卡店 [卡名] - - [x] 查卡店 [卡名] [稀有度] + - [x] 查卡店 [卡名] [稀有度] - - 注:卡店只支持单个稀有度查询 + - 注:卡店只支持单个稀有度查询 -
+
+
鬼东西 From ab27eedc48d5284dcb08a2fd1c32819e9537f025 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=96=B9=E6=9F=B3=E7=85=9C?= <101934327+fangliuyu@users.noreply.github.com> Date: Sun, 27 Nov 2022 14:40:24 +0800 Subject: [PATCH 03/23] Update README.md --- README.md | 32 +++++++++++++------------------- 1 file changed, 13 insertions(+), 19 deletions(-) diff --git a/README.md b/README.md index b7f315be8f..4397e4c4ea 100644 --- a/README.md +++ b/README.md @@ -1355,32 +1355,26 @@ NeteaseCloudMusicApi项目地址:https://binaryify.github.io/NeteaseCloudMusicAp
一些游戏王插件 `import _ "github.com/FloatTech/ZeroBot-Plugin/plugin/ygo"` -
-
- 白鸽API卡查 - - [x] /ydp [xxx] + - 白鸽API卡查 + -- [x] /ydp [xxx] - - [x] /yds [xxx] + -- [x] /yds [xxx] - - [x] /ydb [xxx] + -- [x] /ydb [xxx] - - 注:[xxx]为搜索内容;p:返回一张图片;s:返回一张效果描述;b:高级搜索 - -
-
- 集换社卡价查询 - - [x] 查卡价 [卡名] - - - [x] 查卡价 [卡名] [稀有度 稀有度 ...] + -- 注:[xxx]为搜索内容;p:返回一张图片;s:返回一张效果描述;b:高级搜索 + + - 集换社卡价查询 + + -- [x] 查卡价 [卡名] - - [x] 查卡店 [卡名] + -- [x] 查卡价 [卡名] [稀有度 稀有度 ...] - - [x] 查卡店 [卡名] [稀有度] + -- [x] 查卡店 [卡名] - - 注:卡店只支持单个稀有度查询 + -- [x] 查卡店 [卡名] [稀有度] -
-
+ -- 注:卡店只支持单个稀有度查询
鬼东西 From 7d6aae47fcbfc60ede4bf3764b19ccca41ea2af8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=96=B9=E6=9F=B3=E7=85=9C?= <101934327+fangliuyu@users.noreply.github.com> Date: Sun, 27 Nov 2022 14:41:25 +0800 Subject: [PATCH 04/23] Update README.md --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 4397e4c4ea..34507524bc 100644 --- a/README.md +++ b/README.md @@ -1355,7 +1355,9 @@ NeteaseCloudMusicApi项目地址:https://binaryify.github.io/NeteaseCloudMusicAp
一些游戏王插件 `import _ "github.com/FloatTech/ZeroBot-Plugin/plugin/ygo"` + - 白鸽API卡查 + -- [x] /ydp [xxx] -- [x] /yds [xxx] From ad706fffef93b657485f58f3a5c0aeb8bf8d11b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=96=B9=E6=9F=B3=E7=85=9C?= <101934327+fangliuyu@users.noreply.github.com> Date: Sun, 27 Nov 2022 14:44:03 +0800 Subject: [PATCH 05/23] Update README.md --- README.md | 31 +++++++++++++++++++------------ 1 file changed, 19 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index 34507524bc..d2c50ed4a4 100644 --- a/README.md +++ b/README.md @@ -1354,29 +1354,36 @@ NeteaseCloudMusicApi项目地址:https://binaryify.github.io/NeteaseCloudMusicAp
一些游戏王插件 + `import _ "github.com/FloatTech/ZeroBot-Plugin/plugin/ygo"` - - 白鸽API卡查 +
+ 白鸽API卡查 - -- [x] /ydp [xxx] + - [x] /ydp [xxx] - -- [x] /yds [xxx] + - [x] /yds [xxx] - -- [x] /ydb [xxx] + - [x] /ydb [xxx] - -- 注:[xxx]为搜索内容;p:返回一张图片;s:返回一张效果描述;b:高级搜索 - - - 集换社卡价查询 + - 注:[xxx]为搜索内容;p:返回一张图片;s:返回一张效果描述;b:高级搜索 + +
+
+ 集换社卡价查询 - -- [x] 查卡价 [卡名] + - [x] 查卡价 [卡名] - -- [x] 查卡价 [卡名] [稀有度 稀有度 ...] + - [x] 查卡价 [卡名] [稀有度 稀有度 ...] - -- [x] 查卡店 [卡名] + - [x] 查卡店 [卡名] - -- [x] 查卡店 [卡名] [稀有度] + - [x] 查卡店 [卡名] [稀有度] - -- 注:卡店只支持单个稀有度查询 + - 注:卡店只支持单个稀有度查询 + +
+
鬼东西 From 40c4e85cda80cd6c6fb25ca0396b1c55198a5628 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=96=B9=E6=9F=B3=E7=85=9C?= <101934327+fangliuyu@users.noreply.github.com> Date: Sun, 27 Nov 2022 14:45:30 +0800 Subject: [PATCH 06/23] Update README.md --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index d2c50ed4a4..fd7405f067 100644 --- a/README.md +++ b/README.md @@ -1357,7 +1357,7 @@ NeteaseCloudMusicApi项目地址:https://binaryify.github.io/NeteaseCloudMusicAp `import _ "github.com/FloatTech/ZeroBot-Plugin/plugin/ygo"` -
+ -
白鸽API卡查 - [x] /ydp [xxx] @@ -1369,7 +1369,8 @@ NeteaseCloudMusicApi项目地址:https://binaryify.github.io/NeteaseCloudMusicAp - 注:[xxx]为搜索内容;p:返回一张图片;s:返回一张效果描述;b:高级搜索
-
+ + -
集换社卡价查询 - [x] 查卡价 [卡名] From 87ab452ffe992e7d374122e8070391394d4bb3f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=96=B9=E6=9F=B3=E7=85=9C?= <101934327+fangliuyu@users.noreply.github.com> Date: Sun, 27 Nov 2022 14:51:35 +0800 Subject: [PATCH 07/23] Update README.md --- README.md | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index fd7405f067..ae271734b0 100644 --- a/README.md +++ b/README.md @@ -752,7 +752,7 @@ print("run[CQ:image,file="+j["img"]+"]") ------插 件 扩 展------ -NeteaseCloudMusicApi项目地址:https://binaryify.github.io/NeteaseCloudMusicApi/#/ + - 本插件内置了[NeteaseCloudMusicApi](https://binaryify.github.io/NeteaseCloudMusicApi/#/)框架的一些功能 - [x] 设置猜歌API帮助 - [x] 设置猜歌API [API首页网址] - [x] 猜歌[开启/关闭][歌单/歌词]自动下载 @@ -1357,8 +1357,7 @@ NeteaseCloudMusicApi项目地址:https://binaryify.github.io/NeteaseCloudMusicAp `import _ "github.com/FloatTech/ZeroBot-Plugin/plugin/ygo"` - -
- 白鸽API卡查 + - 插件一: 白鸽API卡查 - [x] /ydp [xxx] @@ -1368,10 +1367,7 @@ NeteaseCloudMusicApi项目地址:https://binaryify.github.io/NeteaseCloudMusicAp - 注:[xxx]为搜索内容;p:返回一张图片;s:返回一张效果描述;b:高级搜索 -
- - -
- 集换社卡价查询 + - 插件二: 集换社卡价查询 - [x] 查卡价 [卡名] @@ -1382,8 +1378,6 @@ NeteaseCloudMusicApi项目地址:https://binaryify.github.io/NeteaseCloudMusicAp - [x] 查卡店 [卡名] [稀有度] - 注:卡店只支持单个稀有度查询 - -
From f42ca0337414af67488116d4bb8b67c740100de9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=96=B9=E6=9F=B3=E7=85=9C?= <101934327+fangliuyu@users.noreply.github.com> Date: Sun, 27 Nov 2022 15:00:32 +0800 Subject: [PATCH 08/23] Update README.md --- README.md | 40 ++++++++++++++++++---------------------- 1 file changed, 18 insertions(+), 22 deletions(-) diff --git a/README.md b/README.md index ae271734b0..598f3f8a5c 100644 --- a/README.md +++ b/README.md @@ -1354,30 +1354,26 @@ print("run[CQ:image,file="+j["img"]+"]")
一些游戏王插件 + + `import _ "github.com/FloatTech/ZeroBot-Plugin/plugin/ygo"` - `import _ "github.com/FloatTech/ZeroBot-Plugin/plugin/ygo"` - - - 插件一: 白鸽API卡查 +
+ 白鸽API卡查 - - [x] /ydp [xxx] - - - [x] /yds [xxx] - - - [x] /ydb [xxx] - - - 注:[xxx]为搜索内容;p:返回一张图片;s:返回一张效果描述;b:高级搜索 - - - 插件二: 集换社卡价查询 - - - [x] 查卡价 [卡名] - - - [x] 查卡价 [卡名] [稀有度 稀有度 ...] - - - [x] 查卡店 [卡名] - - - [x] 查卡店 [卡名] [稀有度] - - - 注:卡店只支持单个稀有度查询 + - [x] /ydp [xxx] + - [x] /yds [xxx] + - [x] /ydb [xxx] + - 注:[xxx]为搜索内容;p:返回一张图片;s:返回一张效果描述;b:高级搜索 +
+
+ 白集换社卡价查询 + - 插件二: 集换社卡价查询 + - [x] 查卡价 [卡名] + - [x] 查卡价 [卡名] [稀有度 稀有度 ...] + - [x] 查卡店 [卡名] + - [x] 查卡店 [卡名] [稀有度] + - 注:卡店只支持单个稀有度查询 +
From 95a1f90c66a4c66f8602841a5c7a6743cb4af977 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=96=B9=E6=9F=B3=E7=85=9C?= <101934327+fangliuyu@users.noreply.github.com> Date: Sun, 27 Nov 2022 15:02:06 +0800 Subject: [PATCH 09/23] Update README.md --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 598f3f8a5c..c80e27a693 100644 --- a/README.md +++ b/README.md @@ -1359,15 +1359,15 @@ print("run[CQ:image,file="+j["img"]+"]")
白鸽API卡查 - + - [x] /ydp [xxx] - [x] /yds [xxx] - [x] /ydb [xxx] - 注:[xxx]为搜索内容;p:返回一张图片;s:返回一张效果描述;b:高级搜索
- 白集换社卡价查询 - - 插件二: 集换社卡价查询 + 集换社卡价查询 + - [x] 查卡价 [卡名] - [x] 查卡价 [卡名] [稀有度 稀有度 ...] - [x] 查卡店 [卡名] From 8481a9e9d56c869e4cb20137b6d08e71da503f5a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=96=B9=E6=9F=B3=E7=85=9C?= <101934327+fangliuyu@users.noreply.github.com> Date: Sun, 27 Nov 2022 15:04:46 +0800 Subject: [PATCH 10/23] Update README.md --- README.md | 43 ++++++++++++++++++++++++------------------- 1 file changed, 24 insertions(+), 19 deletions(-) diff --git a/README.md b/README.md index c80e27a693..eda3c2068b 100644 --- a/README.md +++ b/README.md @@ -1356,25 +1356,30 @@ print("run[CQ:image,file="+j["img"]+"]") 一些游戏王插件 `import _ "github.com/FloatTech/ZeroBot-Plugin/plugin/ygo"` - -
- 白鸽API卡查 - - - [x] /ydp [xxx] - - [x] /yds [xxx] - - [x] /ydb [xxx] - - 注:[xxx]为搜索内容;p:返回一张图片;s:返回一张效果描述;b:高级搜索 -
-
- 集换社卡价查询 - - - [x] 查卡价 [卡名] - - [x] 查卡价 [卡名] [稀有度 稀有度 ...] - - [x] 查卡店 [卡名] - - [x] 查卡店 [卡名] [稀有度] - - 注:卡店只支持单个稀有度查询 -
- + + +
+ 白鸽API卡查 + + `import _ "github.com/FloatTech/ZeroBot-Plugin/plugin/ygo/ygocdb"` + + - [x] /ydp [xxx] + - [x] /yds [xxx] + - [x] /ydb [xxx] + - 注:[xxx]为搜索内容;p:返回一张图片;s:返回一张效果描述;b:高级搜索 +
+
+ 集换社卡价查询 + + `import _ "github.com/FloatTech/ZeroBot-Plugin/plugin/ygo/ygotrade"` + + - [x] 查卡价 [卡名] + - [x] 查卡价 [卡名] [稀有度 稀有度 ...] + - [x] 查卡店 [卡名] + - [x] 查卡店 [卡名] [稀有度] + - 注:卡店只支持单个稀有度查询 +
+
鬼东西 From 307197f3157457a4fe779389013bdb76f278d75a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=96=B9=E6=9F=B3=E7=85=9C?= <101934327+fangliuyu@users.noreply.github.com> Date: Sun, 27 Nov 2022 15:05:57 +0800 Subject: [PATCH 11/23] Update README.md --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index eda3c2068b..f3b6a120db 100644 --- a/README.md +++ b/README.md @@ -1358,6 +1358,7 @@ print("run[CQ:image,file="+j["img"]+"]") `import _ "github.com/FloatTech/ZeroBot-Plugin/plugin/ygo"` +
白鸽API卡查 @@ -1379,7 +1380,9 @@ print("run[CQ:image,file="+j["img"]+"]") - [x] 查卡店 [卡名] [稀有度] - 注:卡店只支持单个稀有度查询
+
+
鬼东西 From 066840965b680c4219a6dba688b124d374f57360 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=96=B9=E6=9F=B3=E7=85=9C?= <101934327+fangliuyu@users.noreply.github.com> Date: Sun, 27 Nov 2022 15:08:03 +0800 Subject: [PATCH 12/23] Update README.md --- README.md | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index f3b6a120db..8e23df160b 100644 --- a/README.md +++ b/README.md @@ -1357,9 +1357,7 @@ print("run[CQ:image,file="+j["img"]+"]") `import _ "github.com/FloatTech/ZeroBot-Plugin/plugin/ygo"` - - -
+ ##
白鸽API卡查 `import _ "github.com/FloatTech/ZeroBot-Plugin/plugin/ygo/ygocdb"` @@ -1369,7 +1367,7 @@ print("run[CQ:image,file="+j["img"]+"]") - [x] /ydb [xxx] - 注:[xxx]为搜索内容;p:返回一张图片;s:返回一张效果描述;b:高级搜索
-
+ ##
集换社卡价查询 `import _ "github.com/FloatTech/ZeroBot-Plugin/plugin/ygo/ygotrade"` @@ -1379,10 +1377,9 @@ print("run[CQ:image,file="+j["img"]+"]") - [x] 查卡店 [卡名] - [x] 查卡店 [卡名] [稀有度] - 注:卡店只支持单个稀有度查询 +
- -
鬼东西 From 950f4b1a5936cedb45871df5357439e085fa7ee3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=96=B9=E6=9F=B3=E7=85=9C?= <101934327+fangliuyu@users.noreply.github.com> Date: Sun, 27 Nov 2022 15:09:44 +0800 Subject: [PATCH 13/23] Update README.md --- README.md | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 8e23df160b..0f2f413ce1 100644 --- a/README.md +++ b/README.md @@ -1357,8 +1357,7 @@ print("run[CQ:image,file="+j["img"]+"]") `import _ "github.com/FloatTech/ZeroBot-Plugin/plugin/ygo"` - ##
- 白鸽API卡查 + ##
白鸽API卡查 `import _ "github.com/FloatTech/ZeroBot-Plugin/plugin/ygo/ygocdb"` @@ -1367,8 +1366,7 @@ print("run[CQ:image,file="+j["img"]+"]") - [x] /ydb [xxx] - 注:[xxx]为搜索内容;p:返回一张图片;s:返回一张效果描述;b:高级搜索
- ##
- 集换社卡价查询 + ##
集换社卡价查询 `import _ "github.com/FloatTech/ZeroBot-Plugin/plugin/ygo/ygotrade"` From 2aca870d04845ff79a5a7d296024c2176a41d7ca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=96=B9=E6=9F=B3=E7=85=9C?= <101934327+fangliuyu@users.noreply.github.com> Date: Sun, 27 Nov 2022 15:11:09 +0800 Subject: [PATCH 14/23] Update README.md --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 0f2f413ce1..8ba92261ac 100644 --- a/README.md +++ b/README.md @@ -1357,7 +1357,7 @@ print("run[CQ:image,file="+j["img"]+"]") `import _ "github.com/FloatTech/ZeroBot-Plugin/plugin/ygo"` - ##
白鸽API卡查 + ####
白鸽API卡查 `import _ "github.com/FloatTech/ZeroBot-Plugin/plugin/ygo/ygocdb"` @@ -1365,8 +1365,9 @@ print("run[CQ:image,file="+j["img"]+"]") - [x] /yds [xxx] - [x] /ydb [xxx] - 注:[xxx]为搜索内容;p:返回一张图片;s:返回一张效果描述;b:高级搜索 +
- ##
集换社卡价查询 + ####
集换社卡价查询 `import _ "github.com/FloatTech/ZeroBot-Plugin/plugin/ygo/ygotrade"` From 0179aa9e3969e61c7a9e1e2271b9f02e922098cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=96=B9=E6=9F=B3=E7=85=9C?= <101934327+fangliuyu@users.noreply.github.com> Date: Sun, 27 Nov 2022 15:13:11 +0800 Subject: [PATCH 15/23] Update README.md --- README.md | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 8ba92261ac..9c59a5592e 100644 --- a/README.md +++ b/README.md @@ -1357,17 +1357,14 @@ print("run[CQ:image,file="+j["img"]+"]") `import _ "github.com/FloatTech/ZeroBot-Plugin/plugin/ygo"` - ####
白鸽API卡查 - - `import _ "github.com/FloatTech/ZeroBot-Plugin/plugin/ygo/ygocdb"` - - - [x] /ydp [xxx] - - [x] /yds [xxx] - - [x] /ydb [xxx] - - 注:[xxx]为搜索内容;p:返回一张图片;s:返回一张效果描述;b:高级搜索 - + ######
白鸽API卡查
+ `import _ "github.com/FloatTech/ZeroBot-Plugin/plugin/ygo/ygocdb"`
+ - [x] /ydp [xxx]
+ - [x] /yds [xxx]
+ - [x] /ydb [xxx]
+ - 注:[xxx]为搜索内容;p:返回一张图片;s:返回一张效果描述;b:高级搜索
- ####
集换社卡价查询 + ######
集换社卡价查询 `import _ "github.com/FloatTech/ZeroBot-Plugin/plugin/ygo/ygotrade"` From 7b37239df824c9d5aa566086a9a8f04c49ca812d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=96=B9=E6=9F=B3=E7=85=9C?= <101934327+fangliuyu@users.noreply.github.com> Date: Sun, 27 Nov 2022 15:14:58 +0800 Subject: [PATCH 16/23] Update README.md --- README.md | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 9c59a5592e..b118861e14 100644 --- a/README.md +++ b/README.md @@ -1357,12 +1357,16 @@ print("run[CQ:image,file="+j["img"]+"]") `import _ "github.com/FloatTech/ZeroBot-Plugin/plugin/ygo"` - ######
白鸽API卡查
- `import _ "github.com/FloatTech/ZeroBot-Plugin/plugin/ygo/ygocdb"`
- - [x] /ydp [xxx]
- - [x] /yds [xxx]
- - [x] /ydb [xxx]
- - 注:[xxx]为搜索内容;p:返回一张图片;s:返回一张效果描述;b:高级搜索
+ ###### +
白鸽API卡查 + + `import _ "github.com/FloatTech/ZeroBot-Plugin/plugin/ygo/ygocdb"` + + - [x] /ydp [xxx] + - [x] /yds [xxx] + - [x] /ydb [xxx] + - 注:[xxx]为搜索内容;p:返回一张图片;s:返回一张效果描述;b:高级搜索 +
######
集换社卡价查询 From 8b8ee070581c8c5ff2224806e7b9138c8fbcd675 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=96=B9=E6=9F=B3=E7=85=9C?= <101934327+fangliuyu@users.noreply.github.com> Date: Sun, 27 Nov 2022 15:16:44 +0800 Subject: [PATCH 17/23] Update README.md --- README.md | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index b118861e14..e0cfa6428e 100644 --- a/README.md +++ b/README.md @@ -1357,29 +1357,25 @@ print("run[CQ:image,file="+j["img"]+"]") `import _ "github.com/FloatTech/ZeroBot-Plugin/plugin/ygo"` - ###### -
白鸽API卡查 + ##### 白鸽API卡查 - `import _ "github.com/FloatTech/ZeroBot-Plugin/plugin/ygo/ygocdb"` + ###### `import _ "github.com/FloatTech/ZeroBot-Plugin/plugin/ygo/ygocdb"` - [x] /ydp [xxx] - [x] /yds [xxx] - [x] /ydb [xxx] - 注:[xxx]为搜索内容;p:返回一张图片;s:返回一张效果描述;b:高级搜索 - -
- ######
集换社卡价查询 + + ##### 集换社卡价查询 - `import _ "github.com/FloatTech/ZeroBot-Plugin/plugin/ygo/ygotrade"` + ######`import _ "github.com/FloatTech/ZeroBot-Plugin/plugin/ygo/ygotrade"` - [x] 查卡价 [卡名] - [x] 查卡价 [卡名] [稀有度 稀有度 ...] - [x] 查卡店 [卡名] - [x] 查卡店 [卡名] [稀有度] - 注:卡店只支持单个稀有度查询 - -
- +
鬼东西 From 61fe083fe079426e42b2699bac74158305f4c81d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=96=B9=E6=9F=B3=E7=85=9C?= <101934327+fangliuyu@users.noreply.github.com> Date: Sun, 27 Nov 2022 15:18:30 +0800 Subject: [PATCH 18/23] Update README.md --- README.md | 22 ++++++++++------------ 1 file changed, 10 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index e0cfa6428e..cc43197d61 100644 --- a/README.md +++ b/README.md @@ -1360,21 +1360,19 @@ print("run[CQ:image,file="+j["img"]+"]") ##### 白鸽API卡查 ###### `import _ "github.com/FloatTech/ZeroBot-Plugin/plugin/ygo/ygocdb"` - - - [x] /ydp [xxx] - - [x] /yds [xxx] - - [x] /ydb [xxx] - - 注:[xxx]为搜索内容;p:返回一张图片;s:返回一张效果描述;b:高级搜索 + - [x] /ydp [xxx] + - [x] /yds [xxx] + - [x] /ydb [xxx] + - 注:[xxx]为搜索内容;p:返回一张图片;s:返回一张效果描述;b:高级搜索 ##### 集换社卡价查询 - ######`import _ "github.com/FloatTech/ZeroBot-Plugin/plugin/ygo/ygotrade"` - - - [x] 查卡价 [卡名] - - [x] 查卡价 [卡名] [稀有度 稀有度 ...] - - [x] 查卡店 [卡名] - - [x] 查卡店 [卡名] [稀有度] - - 注:卡店只支持单个稀有度查询 + ###### `import _ "github.com/FloatTech/ZeroBot-Plugin/plugin/ygo/ygotrade"` + - [x] 查卡价 [卡名] + - [x] 查卡价 [卡名] [稀有度 稀有度 ...] + - [x] 查卡店 [卡名] + - [x] 查卡店 [卡名] [稀有度] + - 注:卡店只支持单个稀有度查询
From 45081ffb272aa2d14015a8b8ca5ffa1ebfdf76b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=96=B9=E6=9F=B3=E7=85=9C?= <101934327+fangliuyu@users.noreply.github.com> Date: Sun, 27 Nov 2022 15:19:59 +0800 Subject: [PATCH 19/23] Add files via upload --- plugin/ygo/ygocdb.go | 187 +++++++++++++++++++++++++++++++++++++++++ plugin/ygo/ygotrade.go | 145 ++++++++++++++++++++++++++++++++ 2 files changed, 332 insertions(+) create mode 100644 plugin/ygo/ygocdb.go create mode 100644 plugin/ygo/ygotrade.go diff --git a/plugin/ygo/ygocdb.go b/plugin/ygo/ygocdb.go new file mode 100644 index 0000000000..b2c3356958 --- /dev/null +++ b/plugin/ygo/ygocdb.go @@ -0,0 +1,187 @@ +// Package ygo 一些关于ygo的插件 +package ygo + +import ( + "net/url" + "strconv" + "strings" + "time" + + "encoding/json" + + "github.com/FloatTech/floatbox/web" + ctrl "github.com/FloatTech/zbpctrl" + control "github.com/FloatTech/zbputils/control" + zero "github.com/wdvxdr1123/ZeroBot" + "github.com/wdvxdr1123/ZeroBot/message" +) + +const ( + serviceErr = "[ygocdb]error:" + api = "https://ygocdb.com/api/v0/?search=" + picherf = "https://cdn.233.momobako.com/ygopro/pics/" +) + +type searchResult struct { + Result []struct { + Cid int `json:"cid"` + ID int `json:"id"` + CnName string `json:"cn_name"` + // CnocgN string `json:"cnocg_n"` // 简中卡名 + JpName string `json:"jp_name"` + EnName string `json:"en_name"` + Text struct { + Types string `json:"types"` + Pdesc string `json:"pdesc"` + Desc string `json:"desc"` + } `json:"text"` + } `json:"result"` +} + +func init() { + en := control.Register("ygocdb", &ctrl.Options[*zero.Ctx]{ + DisableOnDefault: false, + Brief: "游戏王百鸽API",// 本插件基于游戏王百鸽API"https://www.ygo-sem.cn/" + Help: "- /ydp [xxx]\n" + + "- /yds [xxx]\n" + + "- /ydb [xxx]\n" + + "[xxx]为搜索内容\np:返回一张图片\ns:返回一张效果描述\nb:全显示", + }) + + en.OnRegex(`^/yd(p|s|b)\s?(.*)`).SetBlock(true).Handle(func(ctx *zero.Ctx) { + function := ctx.State["regex_matched"].([]string)[1] + ctxtext := ctx.State["regex_matched"].([]string)[2] + if ctxtext == "" { + ctx.SendChain(message.Text("你是想查询「空手假象」吗?")) + return + } + data, err := web.GetData(api + url.QueryEscape(ctxtext)) + if err != nil { + ctx.SendChain(message.Text(serviceErr, err)) + return + } + var result searchResult + err = json.Unmarshal(data, &result) + if err != nil { + ctx.SendChain(message.Text(serviceErr, err)) + return + } + maxpage := len(result.Result) + switch { + case maxpage == 0: + ctx.SendChain(message.Text("没有找到相关的卡片额")) + return + case function == "p": + ctx.SendChain(message.Image(picherf + strconv.Itoa(result.Result[0].ID) + ".jpg")) + return + case function == "s": + cardtextout := cardtext(result, 0) + ctx.SendChain(message.Text(cardtextout)) + return + case function == "d" && maxpage == 1: + cardtextout := cardtext(result, 0) + ctx.SendChain(message.Image(picherf+strconv.Itoa(result.Result[0].ID)+".jpg"), message.Text(cardtextout)) + return + } + var listName []string + var listid []int + for _, v := range result.Result { + listName = append(listName, strconv.Itoa(len(listName))+"."+v.CnName) + listid = append(listid, v.ID) + } + var ( + currentPage = 10 + nextpage = 0 + ) + if maxpage < 10 { + currentPage = maxpage + } + ctx.SendChain(message.Text("找到", strconv.Itoa(maxpage), "张相关卡片,当前显示以下卡名:\n", + strings.Join(listName[:currentPage], "\n"), + "\n————————————\n输入对应数字获取卡片信息,", + "\n或回复“取消”、“下一页”指令")) + recv, cancel := zero.NewFutureEvent("message", 999, false, zero.RegexRule(`(取消)|(下一页)|\d+`), zero.OnlyGroup, zero.CheckUser(ctx.Event.UserID)).Repeat() + after := time.NewTimer(20 * time.Second) + for { + select { + case <-after.C: + cancel() + ctx.Send( + message.ReplyWithMessage(ctx.Event.MessageID, + message.Text("等待超时,搜索结束"), + ), + ) + return + case e := <-recv: + nextcmd := e.Event.Message.String() + switch nextcmd { + case "取消": + cancel() + after.Stop() + ctx.Send( + message.ReplyWithMessage(ctx.Event.MessageID, + message.Text("用户取消,搜索结束"), + ), + ) + return + case "下一页": + after.Reset(20 * time.Second) + if maxpage < 11 { + continue + } + nextpage++ + if nextpage*10 >= maxpage { + nextpage = 0 + currentPage = 10 + ctx.SendChain(message.Text("已是最后一页,返回到第一页")) + } else if nextpage == maxpage/10 { + currentPage = maxpage % 10 + } + ctx.SendChain(message.Text("找到", strconv.Itoa(maxpage), "张相关卡片,当前显示以下卡名:\n", + strings.Join(listName[nextpage*10:nextpage*10+currentPage], "\n"), + "\n————————————————\n输入对应数字获取卡片信息,", + "\n或回复“取消”、“下一页”指令")) + default: + cardint, err := strconv.Atoi(nextcmd) + switch { + case err != nil: + after.Reset(20 * time.Second) + ctx.SendChain(message.At(ctx.Event.UserID), message.Text("请输入正确的序号")) + default: + if cardint < nextpage*10+currentPage { + cancel() + after.Stop() + cardtextout := cardtext(result, cardint) + ctx.SendChain(message.Image(picherf+strconv.Itoa(listid[cardint])+".jpg"), message.Text(cardtextout)) + return + } + after.Reset(20 * time.Second) + ctx.SendChain(message.At(ctx.Event.UserID), message.Text("请输入正确的序号")) + } + } + } + } + }) +} + +func cardtext(list searchResult, cardid int) string { + var cardtext []string + cardtext = append(cardtext, "中文卡名:\n "+list.Result[cardid].CnName) + if list.Result[cardid].JpName == "" { + cardtext = append(cardtext, "英文卡名:\n "+list.Result[cardid].EnName) + } else { + cardtext = append(cardtext, "日文卡名:\n "+list.Result[cardid].JpName) + } + cardtext = append(cardtext, "卡片密码:"+strconv.Itoa(list.Result[cardid].ID)) + cardtext = append(cardtext, list.Result[cardid].Text.Types) + if list.Result[cardid].Text.Pdesc != "" { + cardtext = append(cardtext, "[灵摆效果]\n"+list.Result[cardid].Text.Pdesc) + if strings.Contains(list.Result[cardid].Text.Types, "效果") { + cardtext = append(cardtext, "[怪兽效果]") + } else { + cardtext = append(cardtext, "[怪兽描述]") + } + } + cardtext = append(cardtext, list.Result[cardid].Text.Desc) + return strings.Join(cardtext, "\n") +} diff --git a/plugin/ygo/ygotrade.go b/plugin/ygo/ygotrade.go new file mode 100644 index 0000000000..95d56cb6d4 --- /dev/null +++ b/plugin/ygo/ygotrade.go @@ -0,0 +1,145 @@ +// Package ygo 一些关于ygo的插件 +package ygo + + +import ( + "encoding/json" + "errors" + "net/url" + "strconv" + "strings" + + "github.com/FloatTech/floatbox/web" + ctrl "github.com/FloatTech/zbpctrl" + "github.com/FloatTech/zbputils/control" + "github.com/FloatTech/zbputils/ctxext" + zero "github.com/wdvxdr1123/ZeroBot" + "github.com/wdvxdr1123/ZeroBot/message" +) + +const ( + rarityTrade = "https://api.jihuanshe.com/api/market/search/match-product?game_key=ygo&game_sub_key=ocg&page=1&keyword=" + storeTrade = "https://api.jihuanshe.com/api/market/card-versions/products?game_key=ygo&game_sub_key=ocg&page=1&condition=1&card_version_id=" +) + +type apiInfo struct { + Data []tradeInfo `json:"data"` +} + +type tradeInfo struct { + // 卡片信息 + ID int `json:"id"` + NameCn string `json:"name_cn"` + CardID int `json:"card_id"` + Number string `json:"number"` + Rarity string `json:"rarity"` + ImageURL string `json:"image_url"` + MinPrice string `json:"min_price"` + // 卡店信息 + SellerUserID int `json:"seller_user_id"` + SellerUsername string `json:"seller_username"` + SellerUserAvatar string `json:"seller_user_avatar"` + SellerProvince string `json:"seller_province"` + SellerCity string `json:"seller_city"` + SellerCreditRank string `json:"seller_credit_rank"` + Quantity string `json:"quantity"` + CardVersionImage string `json:"card_version_image"` +} + +func init() { + engine := control.Register("ygotrade", &ctrl.Options[*zero.Ctx]{ + DisableOnDefault: false, + Brief: "游戏王卡价查询",// 本插件基于集换社API + Help: "- 查卡价 [卡名]\n- 查卡价 [卡名] [稀有度 稀有度 ...]\n- 查卡店 [卡名]\n- 查卡店 [卡名] [稀有度]", + }).ApplySingle(ctxext.DefaultSingle) + engine.OnPrefix("查卡价", func(ctx *zero.Ctx) bool { + ctx.State["args"] = strings.TrimSpace(ctx.State["args"].(string)) + return ctx.State["args"].(string) != "" + }).SetBlock(true).Handle(func(ctx *zero.Ctx) { + cardName, rarity, _ := strings.Cut(ctx.State["args"].(string), " ") + listOfTrace, err := getRarityTrade(cardName, rarity) + if err != nil { + ctx.SendChain(message.Text("ERROR: ", err)) + return + } + msg := make(message.Message, len(listOfTrace)) + for i := 0; i < len(listOfTrace); i++ { + msg[i] = ctxext.FakeSenderForwardNode(ctx, message.Text( + "卡名:", listOfTrace[i].NameCn, + "\nID:", listOfTrace[i].ID, + "\n卡序:", listOfTrace[i].Number, + "\n罕贵度:", listOfTrace[i].Rarity, + "\n当前最低价:", listOfTrace[i].MinPrice), + message.Image(listOfTrace[i].ImageURL)) + } + if id := ctx.Send(msg); id.ID() == 0 { + ctx.SendChain(message.Text("ERROR: 可能被风控了")) + } + }) + engine.OnPrefix("查卡店", func(ctx *zero.Ctx) bool { + ctx.State["args"] = strings.TrimSpace(ctx.State["args"].(string)) + return ctx.State["args"].(string) != "" + }).SetBlock(true).Handle(func(ctx *zero.Ctx) { + cardName, rarity, _ := strings.Cut(ctx.State["args"].(string), " ") + if strings.Count(rarity, " ") > 0 { + ctx.SendChain(message.Text("ERROR: ", "卡店查询不支持查找多个罕贵度")) + return + } + listOfTrace, err := getRarityTrade(cardName, rarity) + if err != nil { + ctx.SendChain(message.Text("ERROR: ", err)) + return + } + listStroe, err := getStoreTrade(listOfTrace[0].ID) + if err != nil { + ctx.SendChain(message.Text("ERROR: ", err)) + return + } + msg := make(message.Message, len(listStroe)) + for i := 0; i < len(listStroe); i++ { + msg[i] = ctxext.FakeSenderForwardNode(ctx, message.Text( + "卖家名:", listStroe[i].SellerUsername, + "\nID:", listStroe[i].SellerUserID, + "\n地区:", listStroe[i].SellerCity, + "\n信誉度:", listStroe[i].SellerCreditRank, + "\n数量:", listStroe[i].Quantity, + "\n当前最低价:", listStroe[i].MinPrice), + message.Image(listStroe[i].CardVersionImage)) + } + if id := ctx.Send(msg); id.ID() == 0 { + ctx.SendChain(message.Text("ERROR: 可能被风控了")) + } + }) +} + +// 获取卡名该罕贵度卡片数据 +func getRarityTrade(key, rarity string) (tradeInfo []tradeInfo, err error) { + listOfTrace, err := web.GetData(rarityTrade + url.QueryEscape(key) + "&rarity=" + url.QueryEscape(rarity)) + if err != nil { + return + } + var apiInfo apiInfo + err = json.Unmarshal(listOfTrace, &apiInfo) + if len(apiInfo.Data) == 0 { + err = errors.New("没有找到相关卡片或输入参数错误") + return + } + tradeInfo = apiInfo.Data + return +} + +// 获取卡店卡片数据 +func getStoreTrade(cardID int) (stroeInfo []tradeInfo, err error) { + listOfTrace, err := web.GetData(storeTrade + url.QueryEscape(strconv.Itoa(cardID))) + if err != nil { + return + } + var apiInfo apiInfo + err = json.Unmarshal(listOfTrace, &apiInfo) + if len(apiInfo.Data) == 0 { + err = errors.New("没有找到相关卡片或输入参数错误") + return + } + stroeInfo = apiInfo.Data + return +} From 99a06badbd9179785f79fd8694b296e075926522 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=96=B9=E6=9F=B3=E7=85=9C?= <101934327+fangliuyu@users.noreply.github.com> Date: Sun, 27 Nov 2022 15:21:25 +0800 Subject: [PATCH 20/23] Update main.go --- main.go | 1 + 1 file changed, 1 insertion(+) diff --git a/main.go b/main.go index fcf323afcc..df2699c54d 100644 --- a/main.go +++ b/main.go @@ -136,6 +136,7 @@ import ( _ "github.com/FloatTech/ZeroBot-Plugin/plugin/wenxinAI" // 百度文心AI画图 _ "github.com/FloatTech/ZeroBot-Plugin/plugin/word_count" // 聊天热词 _ "github.com/FloatTech/ZeroBot-Plugin/plugin/wordle" // 猜单词 + _ "github.com/FloatTech/ZeroBot-Plugin/plugin/ygo" // 游戏王相关插件 _ "github.com/FloatTech/ZeroBot-Plugin/plugin/ymgal" // 月幕galgame // _ "github.com/FloatTech/ZeroBot-Plugin/plugin/wtf" // 鬼东西 From a80304a61f339b11ea0db8eba30886954ff18497 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=96=B9=E6=9F=B3=E7=85=9C?= <101934327+fangliuyu@users.noreply.github.com> Date: Sun, 27 Nov 2022 15:23:05 +0800 Subject: [PATCH 21/23] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index cc43197d61..6dd1281dd8 100644 --- a/README.md +++ b/README.md @@ -1359,7 +1359,7 @@ print("run[CQ:image,file="+j["img"]+"]") ##### 白鸽API卡查 - ###### `import _ "github.com/FloatTech/ZeroBot-Plugin/plugin/ygo/ygocdb"` + ###### `"github.com/FloatTech/ZeroBot-Plugin/plugin/ygo/ygocdb.go"` - [x] /ydp [xxx] - [x] /yds [xxx] - [x] /ydb [xxx] @@ -1367,7 +1367,7 @@ print("run[CQ:image,file="+j["img"]+"]") ##### 集换社卡价查询 - ###### `import _ "github.com/FloatTech/ZeroBot-Plugin/plugin/ygo/ygotrade"` + ###### `"github.com/FloatTech/ZeroBot-Plugin/plugin/ygo/ygotrade.go"` - [x] 查卡价 [卡名] - [x] 查卡价 [卡名] [稀有度 稀有度 ...] - [x] 查卡店 [卡名] From 2307424385a7c133262b8754e257bb686d751824 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=96=B9=E6=9F=B3=E7=85=9C?= <101934327+fangliuyu@users.noreply.github.com> Date: Sat, 3 Dec 2022 12:23:16 +0800 Subject: [PATCH 22/23] Update ygotrade.go --- plugin/ygo/ygotrade.go | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/plugin/ygo/ygotrade.go b/plugin/ygo/ygotrade.go index 95d56cb6d4..9f8f9295b2 100644 --- a/plugin/ygo/ygotrade.go +++ b/plugin/ygo/ygotrade.go @@ -1,7 +1,6 @@ // Package ygo 一些关于ygo的插件 package ygo - import ( "encoding/json" "errors" @@ -49,14 +48,14 @@ type tradeInfo struct { func init() { engine := control.Register("ygotrade", &ctrl.Options[*zero.Ctx]{ DisableOnDefault: false, - Brief: "游戏王卡价查询",// 本插件基于集换社API - Help: "- 查卡价 [卡名]\n- 查卡价 [卡名] [稀有度 稀有度 ...]\n- 查卡店 [卡名]\n- 查卡店 [卡名] [稀有度]", + Brief: "游戏王卡价查询", // 本插件基于集换社API + Help: "- 查卡价 [卡名]\n- 查卡价 [卡名] -r [稀有度 稀有度 ...]\n- 查卡店 [卡名]\n- 查卡店 [卡名] -r [稀有度]", }).ApplySingle(ctxext.DefaultSingle) engine.OnPrefix("查卡价", func(ctx *zero.Ctx) bool { ctx.State["args"] = strings.TrimSpace(ctx.State["args"].(string)) return ctx.State["args"].(string) != "" }).SetBlock(true).Handle(func(ctx *zero.Ctx) { - cardName, rarity, _ := strings.Cut(ctx.State["args"].(string), " ") + cardName, rarity, _ := strings.Cut(ctx.State["args"].(string), " -r ") listOfTrace, err := getRarityTrade(cardName, rarity) if err != nil { ctx.SendChain(message.Text("ERROR: ", err)) @@ -80,7 +79,7 @@ func init() { ctx.State["args"] = strings.TrimSpace(ctx.State["args"].(string)) return ctx.State["args"].(string) != "" }).SetBlock(true).Handle(func(ctx *zero.Ctx) { - cardName, rarity, _ := strings.Cut(ctx.State["args"].(string), " ") + cardName, rarity, _ := strings.Cut(ctx.State["args"].(string), " -r ") if strings.Count(rarity, " ") > 0 { ctx.SendChain(message.Text("ERROR: ", "卡店查询不支持查找多个罕贵度")) return From 3d215cb2b0712220e6c32e2f4bb5f6838b114035 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=96=B9=E6=9F=B3=E7=85=9C?= <101934327+fangliuyu@users.noreply.github.com> Date: Sat, 3 Dec 2022 12:24:02 +0800 Subject: [PATCH 23/23] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 9405c0ecf9..5da037c1f7 100644 --- a/README.md +++ b/README.md @@ -1372,9 +1372,9 @@ print("run[CQ:image,file="+j["img"]+"]") ###### `"github.com/FloatTech/ZeroBot-Plugin/plugin/ygo/ygotrade.go"` - [x] 查卡价 [卡名] - - [x] 查卡价 [卡名] [稀有度 稀有度 ...] + - [x] 查卡价 [卡名] -r [稀有度 稀有度 ...] - [x] 查卡店 [卡名] - - [x] 查卡店 [卡名] [稀有度] + - [x] 查卡店 [卡名] -r [稀有度] - 注:卡店只支持单个稀有度查询