This commit is contained in:
2026-02-27 12:40:27 +08:00
parent 5fca36d1ed
commit 63f079673b
5 changed files with 23 additions and 10 deletions
+17
View File
@@ -0,0 +1,17 @@
## 更新记录
### version: 1.0.3
调整输入营地ID查询的判定条件。
### version: 1.0.2
新增战绩评价功能,参考最新10把战绩,调用模型进行简单的评价。指令触发方式调整,删除王者字符。如果还需要王者战绩来触发需要在指令前缀里面添加 王者。
### version: 1.0.1
新增英雄的上榜战力查询,需要柠柚API。
### version: 1.0.0
大部分重要功能已经实现
-7
View File
@@ -8,13 +8,6 @@
插件数据依赖外部接口提供,需要自行支持创建令牌才可使用。(免费调用) 插件数据依赖外部接口提供,需要自行支持创建令牌才可使用。(免费调用)
## 更新记录
version: 1.0.2:新增战绩评价功能,参考最新10把战绩,调用模型进行简单的评价。指令触发方式调整,删除王者字符。如果还需要王者战绩来触发需要在指令前缀里面添加 王者。
version: 1.0.1:新增英雄的上榜战力查询,需要柠柚API。
version: 1.0.0:大部分重要功能已经实现
## 功能特点 ## 功能特点
+1 -1
View File
@@ -315,7 +315,7 @@ class GOKServer:
try: try:
# 直接返回输入 # 直接返回输入
int(name) int(name)
if int(name) >=100000000: if int(name) >=10000000:
gokid = name gokid = name
return gokid return gokid
else: else:
+1 -1
View File
@@ -19,7 +19,7 @@ from .core.gok_data import GOKServer
@register("astrbot_plugin_gok", @register("astrbot_plugin_gok",
"fxdyz", "fxdyz",
"通过接口获取王者荣耀游戏数据", "通过接口获取王者荣耀游戏数据",
"1.0.2", "1.0.3",
"https://github.com/qsc20001102/astrbot_plugin_gok.git" "https://github.com/qsc20001102/astrbot_plugin_gok.git"
) )
class GokApiPlugin(Star): class GokApiPlugin(Star):
+4 -1
View File
@@ -1,6 +1,9 @@
name: astrbot_plugin_gok name: astrbot_plugin_gok
display_name: 王者荣耀游戏数据查询工具 display_name: 王者荣耀游戏数据查询工具
desc: 王者荣耀的战绩、资料等内容的查询。数据来源王者营地,可查询在游戏内隐藏的战绩,营地也隐藏就不行了。 desc: 王者荣耀的战绩、资料等内容的查询。数据来源王者营地,可查询在游戏内隐藏的战绩,营地也隐藏就不行了。
version: v1.0.2 version: v1.0.3
author: 飞翔大野猪 author: 飞翔大野猪
repo: https://github.com/qsc20001102/astrbot_plugin_gok repo: https://github.com/qsc20001102/astrbot_plugin_gok
astrbot_version: ">=4.11.0"
support_platforms:
- aiocqhttp