diff --git a/CHANGELOG.md b/CHANGELOG.md index 922c76a..58866e1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +## 1.4.0 (23/05/01) + +1. feat: newWatchService catch +2. feat: bot command +3. feat: poi + ## 1.3.3 (23/03/16) 1. fix: timer diff --git a/build.gradle.kts b/build.gradle.kts index eb6bfae..7d3052b 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -7,7 +7,7 @@ plugins { } group = "xyz.cssxsh.mirai" -version = "1.3.3" +version = "1.4.0" mavenCentralPublish { useCentralS01() diff --git a/src/main/kotlin/xyz/cssxsh/mirai/admin/MiraiAdminPlugin.kt b/src/main/kotlin/xyz/cssxsh/mirai/admin/MiraiAdminPlugin.kt index f759f7a..4011c47 100644 --- a/src/main/kotlin/xyz/cssxsh/mirai/admin/MiraiAdminPlugin.kt +++ b/src/main/kotlin/xyz/cssxsh/mirai/admin/MiraiAdminPlugin.kt @@ -20,7 +20,7 @@ internal object MiraiAdminPlugin : KotlinPlugin( JvmPluginDescription( id = "xyz.cssxsh.mirai.plugin.mirai-administrator", name = "mirai-administrator", - version = "1.3.3", + version = "1.4.0", ) { author("cssxsh") } diff --git a/src/main/kotlin/xyz/cssxsh/mirai/admin/command/AdminBotCommand.kt b/src/main/kotlin/xyz/cssxsh/mirai/admin/command/AdminBotCommand.kt index 2cb13e9..795d641 100644 --- a/src/main/kotlin/xyz/cssxsh/mirai/admin/command/AdminBotCommand.kt +++ b/src/main/kotlin/xyz/cssxsh/mirai/admin/command/AdminBotCommand.kt @@ -14,6 +14,9 @@ public object AdminBotCommand : CompositeCommand( primaryName = "bot", description = "BOT处理相关操作" ) { + /** + * 打印 BOT 列表 + */ @SubCommand public suspend fun CommandSender.list() { val message = try { @@ -32,6 +35,10 @@ public object AdminBotCommand : CompositeCommand( sendMessage(message) } + /** + * 登出 BOT + * @param bot 操作对象 + */ @SubCommand public suspend fun CommandSender.logout(bot: Bot) { val message = try {