Update docs

This commit is contained in:
Him188 2020-02-21 22:38:16 +08:00
parent 5623f87ac5
commit b8c35048a4
2 changed files with 4 additions and 1 deletions

View File

@ -72,6 +72,9 @@ interface Member : QQ, Contact {
/**
* 禁言.
*
* QQ 中最小操作和显示的时间都是一分钟.
* 机器人可以实现精确到秒, 会被客户端显示为 1 分钟但不影响实际禁言时间.
*
* 管理员可禁言成员, 群主可禁言管理员和群员.
*
* @param durationSeconds 持续时间. 精确到秒. 范围区间表示为 `(0s, 30days]`. 超过范围则会抛出异常.

View File

@ -150,7 +150,7 @@ fun MessagePacket<*, *>.isContextIdenticalWith(another: MessagePacket<*, *>): Bo
}
/**
* 获取下一条 [MessagePacket.sender] [MessagePacket.subject] 相同且通过 [筛选][filter] [MessagePacket]
* 挂起当前协程, 等待下一条 [MessagePacket.sender] [MessagePacket.subject] [P] 相同且通过 [筛选][filter] [MessagePacket]
*
* [filter] 抛出了一个异常, 本函数会立即抛出这个异常.
*