Skip to content

Commit 9750719

Browse files
committed
feat: Slightly adjusted the wording of the prompt
1 parent 2b3813b commit 9750719

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

en/dev/star/guides/send-message.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ async def helloworld(self, event: AstrMessageEvent):
5959
The above constructs a `message chain`, which will ultimately send a message containing both images and text while preserving the order.
6060

6161
> [!TIP]
62-
> In the aiocqhttp message adapter, for `plain` type messages, the `strip()` method is used during sending to remove spaces and newlines. You can solve this issue by adding a zero-width space `\u200b` before the message.
62+
> In the aiocqhttp message adapter, for messages of type `plain`, the `strip()` method is used during sending to remove spaces and line breaks. You can add zero-width spaces `\u200b` before and after the message to resolve this issue.
6363
6464
Similarly,
6565

zh/dev/star/guides/send-message.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ async def helloworld(self, event: AstrMessageEvent):
5959
上面构建了一个 `message chain`,也就是消息链,最终会发送一条包含了图片和文字的消息,并且保留顺序。
6060

6161
> [!TIP]
62-
> 在 aiocqhttp 消息适配器中,对于 `plain` 类型的消息,在发送中会使用 `strip()` 方法去除空格及换行符,可以在消息前添加零宽空格 `\u200b` 解决这个问题
62+
> 在 aiocqhttp 消息适配器中,对于 `plain` 类型的消息,在发送中会使用 `strip()` 方法去除空格及换行符,可以在消息前后添加零宽空格 `\u200b` 以解决这个问题
6363
6464
类似地,
6565

0 commit comments

Comments
 (0)