-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f735279
commit aac52de
Showing
14 changed files
with
114 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# 子频道 KookChannel | ||
|
||
Start typing here... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# 频道 KookGuild | ||
|
||
Start typing here... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# 频道成员 KookMember | ||
|
||
Start typing here... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# 私聊会话 KookUserChat | ||
|
||
Start typing here... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# 行为对象 | ||
|
||
KOOK的**行为对象**(例如 `KookGuild`、`KookMember` 等) | ||
都是对 simbot 标准库中的行为对象进行的实现与延伸扩展。 | ||
|
||
你可以前往了解 [simbot标准库的 **行为对象**](https://simbot.forte.love/basic-actor.html)。 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# KookBot | ||
|
||
Start typing here... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
# 日志 | ||
|
||
## API 日志 | ||
|
||
开启 `love.forte.simbot.kook.api` 的 `DEBUG` 级别日志, | ||
可以看到 **所有** API 请求过程中的信息,例如入参、结果等。 | ||
|
||
<warning> | ||
|
||
这可能会泄露一些隐私信息,请注意保护日志安全。 | ||
|
||
</warning> | ||
|
||
## Stdlib Bot 日志 | ||
|
||
在stdlib模块下的 `Bot` 中提供了两个日志命名: | ||
|
||
<list> | ||
<li> | ||
|
||
`love.forte.simbot.kook.bot.${ticket.clientId}` | ||
|
||
开启 `DEBUG` 和 `TRACE` 级别的日志可得到一些利于调试的、与事件之外的内容相关的日志。 | ||
|
||
</li> | ||
<li> | ||
|
||
`love.forte.simbot.kook.event.${ticket.clientId}` | ||
|
||
开启 `DEBUG` 和 `TRACE` 级别的日志可得到一些利于调试的、与事件相关的日志。 | ||
|
||
</li> | ||
</list> | ||
|
||
其中 `${ticket.clientId}` 就是你 Bot 对应的信息。 | ||
|
||
## 组件库 KookBot 日志 | ||
|
||
在core模块下的 `KookBot` 中提供了 | ||
`love.forte.simbot.component.kook.bot.${sourceBot.ticket.clientId}` | ||
的日志,开启它的 `DEBUG` 级别日志可以得到一些由组件库的 `KookBot` | ||
额外提供的一些利于调试的日志。 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# KMarkdown | ||
|
||
> 官方文档: [KMarkdown](https://developer.kookapp.cn/doc/kmarkdown) | ||
Start typing here... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# Attachments | ||
|
||
> 官方文档: [附加的多媒体数据 Attachments](https://developer.kookapp.cn/doc/objects#附加的多媒体数据%20Attachments) | ||
Start typing here... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# Card | ||
|
||
> 官方文档: [卡片消息](https://developer.kookapp.cn/doc/cardmessage) | ||
Start typing here... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# Objects | ||
|
||
KOOK API 中提供了一些 [Objects](https://developer.kookapp.cn/doc/objects) 的定义, | ||
在KOOK组件库的 **API模块** 针对这其中的大部分类型提供了对应的封装。 | ||
|
||
> 它们基本上都在包 `love.forte.simbot.kook.objects` 中。 | ||
> | ||
> 此包下的部分内容也可能不在官方的 [Objects](https://developer.kookapp.cn/doc/objects) 分类下, | ||
> 例如 `Card` 和 `KMarkdown`。 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
# 角色操作 | ||
# 角色 KookRole | ||
|
||
Start typing here... | ||
Start typing here... |