Skip to content

Commit

Permalink
0.2.8
Browse files Browse the repository at this point in the history
  • Loading branch information
Kloping committed Dec 24, 2021
1 parent 288e143 commit 4cb5268
Show file tree
Hide file tree
Showing 10 changed files with 23 additions and 22 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ public class PluginMain extends JavaPlugin {

private PluginMain() {
super(new JvmPluginDescriptionBuilder("cn.kloping.lsys.getPic.PluginMain", "0.1")
.name("插件_4 Author => HRS LSys GetPic Loaded")
.info("插件")
.name("plugin_4 Author - HRS LSys GetPic Loaded")
.info("plugin-pic")
.author("HRS")
.build());
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ public class PluginMain extends JavaPlugin {

private PluginMain() {
super(new JvmPluginDescriptionBuilder("cn.kloping.lsys.getSong.PluginMain", "0.1")
.name("插件_5 Author => HRS LSys GetSong Loaded")
.info("插件")
.name("plugin_5 Author - HRS LSys GetSong Loaded")
.info("plugin-song")
.author("HRS")
.build());
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ public class PluginMain extends JavaPlugin {

private PluginMain() {
super(new JvmPluginDescriptionBuilder("cn.kloping.lsys.picParser.PluginMain", "0.1")
.name("插件_6 Author => HRS LSys picParser Loaded")
.info("插件")
.name("p_6 Author - HRS LSys picParser Loaded")
.info("plugin-picP")
.author("HRS")
.build());
}
Expand Down
4 changes: 2 additions & 2 deletions Lsys-Score1/src/main/java/cn/kloping/lsys/sc1/PluginMain.java
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ public class PluginMain extends JavaPlugin {

private PluginMain() {
super(new JvmPluginDescriptionBuilder("cn.kloping.lsys.sco1.PluginMain", "0.1")
.name("插件_7 Author => HRS LSys sco1 Loaded")
.info("插件")
.name("p_7 Author - HRS LSys sco1 Loaded")
.info("plugin-sco1")
.author("HRS")
.build());
}
Expand Down
4 changes: 2 additions & 2 deletions Lsys-Score2/src/main/java/cn/kloping/lsys/sc2/PluginMain.java
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ public class PluginMain extends JavaPlugin {

private PluginMain() {
super(new JvmPluginDescriptionBuilder("cn.kloping.lsys.sco2.PluginMain", "0.1.2")
.name("插件_8 Author => HRS LSys sco2 Loaded")
.info("插件")
.name("p_8 Author-HRS-LSys-sco2-Loaded")
.info("plugin-sco2")
.author("HRS")
.build());
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ public class PluginMain extends JavaPlugin {

private PluginMain() {
super(new JvmPluginDescriptionBuilder("cn.kloping.lsys.idiom.PluginMain", "0.1")
.name("插件_9 Author => HRS LSys idiom Loaded")
.info("插件")
.name("plugin_9 Author - HRS LSys idiom Loaded")
.info("plugin-idiom")
.author("HRS")
.build());
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ public void fail(String s) {
builder.append("成语接龙结束\n");
builder.append("共接了").append(String.valueOf(this.getHist().size())).append("次\n");
for (String s2 : this.getHist()) {
builder.append(s2).append("=>");
builder.append(s2).append("-");
}
builder.append("end");
request.getEvent().getSubject().sendMessage(builder.build());
Expand Down
4 changes: 2 additions & 2 deletions conf/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"main": {
//映射组Id
"id": "main",
//映射组 句=>方法名
//映射组 句-方法名
"invokes": {
"积分查询": "m1",
"查询积分": "m1",
Expand All @@ -24,7 +24,7 @@
"开启私聊": "mpOpen",
"关闭私聊": "mpClose"
},
//映射组 输出 格式 句 => 格式
//映射组 输出 格式 句 - 格式
"invokesAfter": {
"关闭": [
"<At = ?>\n关闭成功",
Expand Down
11 changes: 6 additions & 5 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,14 @@
<maven.compiler.source>8</maven.compiler.source>
<maven.compiler.target>8</maven.compiler.target>
<kotlin.version>1.6.0-RC</kotlin.version>
<mirai-version>LATEST</mirai-version>
</properties>

<dependencies>
<dependency>
<groupId>io.github.Kloping</groupId>
<artifactId>JvUtils</artifactId>
<version>0.2.7</version>
<version>LATEST</version>
</dependency>
<dependency>
<groupId>org.jsoup</groupId>
Expand All @@ -38,22 +39,22 @@
<dependency>
<groupId>net.mamoe</groupId>
<artifactId>mirai-core-all</artifactId>
<version>2.8.0</version>
<version>${mirai-version}</version>
</dependency>
<dependency>
<groupId>net.mamoe</groupId>
<artifactId>mirai-core-jvm</artifactId>
<version>2.8.0</version>
<version>${mirai-version}</version>
</dependency>
<dependency>
<groupId>net.mamoe</groupId>
<artifactId>mirai-console</artifactId>
<version>2.8.0</version>
<version>${mirai-version}</version>
</dependency>
<dependency>
<groupId>net.mamoe</groupId>
<artifactId>mirai-console-terminal</artifactId>
<version>2.8.0</version>
<version>${mirai-version}</version>
</dependency>
<dependency>
<groupId>org.jetbrains.kotlin</groupId>
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/cn/kloping/lsys/PluginMain.kt
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ class PluginMain : KotlinPlugin {

constructor() : super(
JvmPluginDescriptionBuilder("cn.kloping.Lsys", "0.2.8-M1")
.name("插件_ Author => HRS LSys Loaded")
.info("插件")
.name("p_0-Author-HRS-LSys-Loaded")
.info("Lsys-main")
.author("HRS")
.build().apply {
}
Expand Down

0 comments on commit 4cb5268

Please sign in to comment.