Skip to content

Commit

Permalink
release: v0.9.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ForteScarlet committed Jun 21, 2024
1 parent 88ebab5 commit dfd5cc4
Show file tree
Hide file tree
Showing 6 changed files with 30 additions and 11 deletions.
7 changes: 7 additions & 0 deletions .changelog/v0.9.0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
> 对应核心版本: [**v4.0.1**](https://github.com/simple-robot/simpler-robot/releases/tag/v4.0.1)

我们欢迎并期望着您的的[反馈](https://github.com/simple-robot/simbot-component-onebot/issues)[协助](https://github.com/simple-robot/simbot-component-onebot/pulls)
感谢您的贡献与支持!

也欢迎您为我们献上一颗 `star`,这是对我们最大的鼓励与认可!
5 changes: 3 additions & 2 deletions Writerside/ob.tree
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,12 @@
<toc-element topic="onebot11-quick-start.md">
<toc-element topic="use-onebot11.md"/>
</toc-element>
<toc-element topic="onebot11-bot-config.md"/>
<toc-element topic="onebot11-event.md">
</toc-element>
<toc-element topic="onebot11-message.md"/>
<toc-element topic="onebot11-OneBotBot.md"/>
<toc-element topic="onebot11-OneBotBot.md">
</toc-element>
<toc-element topic="onebot11-bot-config.md"/>
<toc-element topic="onebot11-actors.md">
<toc-element topic="onebot11-OneBotGroup.md"/>
<toc-element topic="onebot11-OneBotMember.md"/>
Expand Down
2 changes: 1 addition & 1 deletion Writerside/topics/OneBot11.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ OneBot组件选择使用

简单来说,就是不论是API交互还是事件订阅,都由OneBot组件作为**主动方**:主动发起HTTP请求、主动发起WebSocket连接。

## 反向?
### 反向?

如果你真的想要通过反向HTTP来接收事件推送,那么你需要自行搭建 HTTP 服务端,然后使用 `OneBotBot.push` 手动推送原始事件的JSON字符串。
你可以前往参考
Expand Down
7 changes: 5 additions & 2 deletions Writerside/topics/onebot11-OneBotBot.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,11 @@ Bot进行API请求时使用的HttpClient。
<def id="prop-apiHost" title="apiHost">
Bot进行API请求时使用的服务地址的host,来自配置信息。
</def>
<def id="prop-accessToken" title="accessToken">
Bot进行API请求时使用的accessToken,来自配置信息。
<def id="prop-apiAccessToken" title="apiAccessToken">
Bot进行API请求时使用的 accessToken,来自配置信息。
</def>
<def id="prop-eventAccessToken" title="eventAccessToken">
Bot进行事件订阅的ws连接请求时使用的 accessToken,来自配置信息。
</def>
<def id="prop-userId" title="userId">

Expand Down
18 changes: 13 additions & 5 deletions Writerside/topics/use-onebot11.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@ switcher-label: JavaAPI风格
## 前期准备

参考
<a href="onebot11-quick-start.md"/>
<a href="onebot11-quick-start.md"/> 。

## 安装
### 安装组件库
Expand Down Expand Up @@ -420,7 +419,10 @@ public static void configure(Application application) {
botConfiguration.setEventServerHost(URLUtilsKt.Url("ws://localhost:3001"));
// 其他配置, 一般都是可选属性
/// token
botConfiguration.setAccessToken(null);
botConfiguration.accessToken(null);
//
botConfiguration.setApiAccessToken(null);
botConfiguration.setEventAccessToken(null);
/// ...

// 注册
Expand Down Expand Up @@ -482,7 +484,10 @@ public static void configure(Application application) {
botConfiguration.setEventServerHost(URLUtilsKt.Url("ws://localhost:3001"));
// 其他配置, 一般都是可选属性
/// token
botConfiguration.setAccessToken(null);
botConfiguration.accessToken(null);
//
botConfiguration.setApiAccessToken(null);
botConfiguration.setEventAccessToken(null);
/// ...

// 注册
Expand Down Expand Up @@ -545,7 +550,10 @@ public static void configure(Application application) {
botConfiguration.setEventServerHost(URLUtilsKt.Url("ws://localhost:3001"));
// 其他配置, 一般都是可选属性
/// token
botConfiguration.setAccessToken(null);
botConfiguration.accessToken(null);
//
botConfiguration.setApiAccessToken(null);
botConfiguration.setEventAccessToken(null);
/// ...

// 注册
Expand Down
2 changes: 1 addition & 1 deletion Writerside/v.list
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<var name="jb" value="阻塞"/>
<var name="ja" value="异步"/>
<var name="jr" value="响应式"/>
<var name="version" value="0.8.0"/>
<var name="version" value="0.9.0"/>
<var name="d-group" value="love.forte.simbot.component"/>
<var name="d-ob11-id" value="simbot-component-onebot-v11"/>
<var name="minimum-core-version" value="4.0.1"/>
Expand Down

0 comments on commit dfd5cc4

Please sign in to comment.