Skip to content

Commit

Permalink
修正网络协议层对接策略
Browse files Browse the repository at this point in the history
新增命令【机器人平台】
支持OB115协议
提供看门狗功能
  • Loading branch information
super1207 committed Dec 20, 2023
1 parent 57b8300 commit 3b058f7
Show file tree
Hide file tree
Showing 11 changed files with 762 additions and 328 deletions.
3 changes: 2 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,8 @@ resvg = { version = "0.36.0", default-features = false, features = [ "text", "ra
fontdb = { version = "0.15.0", default-features = false, features = [ "fs" ] }
flate2 = { version = "1.0.26",default-features = false}
zhconv = "0.3.0"

async-trait = "0.1.74"
net2 = "0.2.39"

[target.'cfg(windows)'.dependencies]
winreg = "0.50.0"
Expand Down
9 changes: 8 additions & 1 deletion docs/detailref/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1892,7 +1892,7 @@ CQ码**外部**的字符需要CQ转义,以上三个命令的作用可以参考

红色问答中脚本的执行输出,会自动根据来源发送到指定群、频道、用户。

支持的键包括:<font color="red">机器人ID</font>、<font color="red">机器人频道ID</font>、<font color="red">频道ID</font>、<font color="red">子频道ID</font>、<font color="red">群ID</font>、<font color="red">发送者ID</font>。
支持的键包括:<font color="red">机器人ID</font>、<font color="red">机器人频道ID</font>、<font color="red">频道ID</font>、<font color="red">子频道ID</font>、<font color="red">群ID</font>、<font color="red">发送者ID</font>,<font color="red">机器人平台</font>

受此命令影响的命令有:文档待补充.jpg

Expand All @@ -1905,6 +1905,13 @@ CQ码**外部**的字符需要CQ转义,以上三个命令的作用可以参考
onebot事件json对应的RedLang对象。


### 机器人平台

【机器人平台】

返回产生onebot事件的机器人平台。


### 取艾特


Expand Down
Loading

0 comments on commit 3b058f7

Please sign in to comment.