Skip to content

Commit

Permalink
Update context.md (#148)
Browse files Browse the repository at this point in the history
Co-authored-by: Shigma <[email protected]>
  • Loading branch information
MirrorCY and shigma authored Jan 15, 2024
1 parent 5049dc1 commit a63a617
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zh-CN/api/core/context.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ Koishi 使用了组合 (Compose) 的开发方式,绝大部分上下文属性

### ctx.broadcast(channels?, content, forced?) <badge>需要数据库</badge>

- **channels:** `string[]` 频道列表
- **channels:** `string[]` 频道列表,格式为 `{platform}:{channelId}` (如 `discord:1234567890`)
- **content:** `string` 要发送的内容
- **forced:** `boolean` 是否无视 silent 标记
- 返回值: `Promise<string[]>` 成功发送的消息 ID 列表
Expand Down

0 comments on commit a63a617

Please sign in to comment.