Skip to content

Commit 5ae11b0

Browse files
committed
build: 1.4.0
1 parent e706167 commit 5ae11b0

File tree

4 files changed

+15
-2
lines changed

4 files changed

+15
-2
lines changed

CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
## 1.4.0 (23/05/01)
2+
3+
1. feat: newWatchService catch
4+
2. feat: bot command
5+
3. feat: poi
6+
17
## 1.3.3 (23/03/16)
28

39
1. fix: timer

build.gradle.kts

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ plugins {
77
}
88

99
group = "xyz.cssxsh.mirai"
10-
version = "1.3.3"
10+
version = "1.4.0"
1111

1212
mavenCentralPublish {
1313
useCentralS01()

src/main/kotlin/xyz/cssxsh/mirai/admin/MiraiAdminPlugin.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ internal object MiraiAdminPlugin : KotlinPlugin(
2020
JvmPluginDescription(
2121
id = "xyz.cssxsh.mirai.plugin.mirai-administrator",
2222
name = "mirai-administrator",
23-
version = "1.3.3",
23+
version = "1.4.0",
2424
) {
2525
author("cssxsh")
2626
}

src/main/kotlin/xyz/cssxsh/mirai/admin/command/AdminBotCommand.kt

+7
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ public object AdminBotCommand : CompositeCommand(
1414
primaryName = "bot",
1515
description = "BOT处理相关操作"
1616
) {
17+
/**
18+
* 打印 BOT 列表
19+
*/
1720
@SubCommand
1821
public suspend fun CommandSender.list() {
1922
val message = try {
@@ -32,6 +35,10 @@ public object AdminBotCommand : CompositeCommand(
3235
sendMessage(message)
3336
}
3437

38+
/**
39+
* 登出 BOT
40+
* @param bot 操作对象
41+
*/
3542
@SubCommand
3643
public suspend fun CommandSender.logout(bot: Bot) {
3744
val message = try {

0 commit comments

Comments
 (0)