From c465ba2f38eb0d1ed495edd9487a75245fc97e82 Mon Sep 17 00:00:00 2001 From: ForteScarlet Date: Thu, 20 Jun 2024 00:32:21 +0800 Subject: [PATCH] release: v0.6.0 --- .changelog/v0.6.0.md | 7 +++++++ Writerside/v.list | 2 +- .../simbot/component/onebot/v11/core/OneBot11Usage.kt | 2 +- 3 files changed, 9 insertions(+), 2 deletions(-) create mode 100644 .changelog/v0.6.0.md diff --git a/.changelog/v0.6.0.md b/.changelog/v0.6.0.md new file mode 100644 index 0000000..e8b495a --- /dev/null +++ b/.changelog/v0.6.0.md @@ -0,0 +1,7 @@ +> 对应核心版本: [**v4.0.0**](https://github.com/simple-robot/simpler-robot/releases/tag/v4.0.0) + + +我们欢迎并期望着您的的[反馈](https://github.com/simple-robot/simbot-component-onebot/issues)或[协助](https://github.com/simple-robot/simbot-component-onebot/pulls), +感谢您的贡献与支持! + +也欢迎您为我们献上一颗 `star`,这是对我们最大的鼓励与认可! diff --git a/Writerside/v.list b/Writerside/v.list index 5301976..d79b912 100644 --- a/Writerside/v.list +++ b/Writerside/v.list @@ -7,7 +7,7 @@ - + diff --git a/simbot-component-onebot-v11/simbot-component-onebot-v11-core/src/commonMain/kotlin/love/forte/simbot/component/onebot/v11/core/OneBot11Usage.kt b/simbot-component-onebot-v11/simbot-component-onebot-v11-core/src/commonMain/kotlin/love/forte/simbot/component/onebot/v11/core/OneBot11Usage.kt index a5eab46..bb1a2ee 100644 --- a/simbot-component-onebot-v11/simbot-component-onebot-v11-core/src/commonMain/kotlin/love/forte/simbot/component/onebot/v11/core/OneBot11Usage.kt +++ b/simbot-component-onebot-v11/simbot-component-onebot-v11-core/src/commonMain/kotlin/love/forte/simbot/component/onebot/v11/core/OneBot11Usage.kt @@ -136,6 +136,6 @@ public inline fun Application.oneBot11BotsIfSupport(block: OneBotBotManager.() - contract { callsInPlace(block, InvocationKind.AT_MOST_ONCE) } - + botManagers.firstOneBotBotManagerOrNull()?.block() }