docs(discord): replace loading placeholder with verified delivery screenshot

This commit is contained in:
RockChinQ
2026-10-17 15:11:59 +08:00
parent 9943d74993
commit 51dddcb3f8
4 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -51,7 +51,7 @@ For message events, `chat_id` is the channel ID and `group.id` is the server ID.
For member join/leave events, there is no originating channel. Replies use the server's configured **System Messages Channel**. Configure it in Discord's server settings and grant the bot View Channels and Send Messages there; without a system channel, the reply fails explicitly. The member-leave callback does not distinguish voluntary departure from a kick, so do not use `is_kicked` as an authoritative moderation signal.
![Real attachment round trip: a red/blue image and a text file go in; a green PNG and a text file containing the calculated result come back.](/images/zh/deploy/bots/discord/attachment-roundtrip.jpg)
![Real Discord delivery: the plugin returns the uploaded image and text file, followed by a successful Pipeline DM reply.](/images/zh/deploy/bots/discord/attachment-roundtrip.jpg)
## Troubleshooting
Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 27 KiB

+1 -1
View File
@@ -51,7 +51,7 @@ Discord には一通の文字数制限があるため、長いストリーミン
メンバーの参加・退出イベントには送信元チャンネルがありません。返信にはサーバーで設定された **システムメッセージのチャンネル** を使用します。Discord のサーバー設定で指定し、Bot にチャンネルの閲覧とメッセージ送信を許可してください。未設定の場合、返信は明示的に失敗します。退出コールバックでは自主退出とキックを区別できないため、`is_kicked` を確実な管理判断に使用しないでください。
![実際の添付ファイル往復例:赤と青の画像とテキストを送信し、緑の PNG と計算結果のテキストファイルを受信します。](/images/zh/deploy/bots/discord/attachment-roundtrip.jpg)
![Discord への実際の配信:プラグインが画像とテキストファイルを返し、その後 Pipeline の DM 返信も成功しています。](/images/zh/deploy/bots/discord/attachment-roundtrip.jpg)
## トラブルシューティング
+1 -1
View File
@@ -51,7 +51,7 @@ Discord 单条消息有长度限制,长流式输出需要分段送达。检查
成员加入/离开事件没有来源频道,回复会发送到服务器配置的 **系统消息频道**。请在 Discord 服务器设置中配置该频道,并授予机器人查看频道、发送消息权限;未配置系统消息频道时,回复会明确失败。成员离开回调无法区分主动退群和被踢,不要将 `is_kicked` 作为可靠的管理判断依据。
![实际附件往返示例:红蓝图片与文本作为输入,回复包含绿色 PNG 和计算结果文本附件。](/images/zh/deploy/bots/discord/attachment-roundtrip.jpg)
![Discord 实际投递:插件原样回传上传的图片和文本文件,随后 Pipeline 私聊回复成功。](/images/zh/deploy/bots/discord/attachment-roundtrip.jpg)
## 排查问题